From collin.funk1 at gmail.com Thu Jul 3 04:51:54 2025 From: collin.funk1 at gmail.com (Collin Funk) Date: Wed, 2 Jul 2025 19:51:54 -0700 Subject: [PATCH gpgme] Remove duplicate character passed to strchr. Message-ID: <5e22d59820d24bbcfb99fbc8f5782ea51284d557.1751511107.git.collin.funk1@gmail.com> * src/keylist.c (parse_sec_field15): Remove duplicate '0' character. Signed-off-by: Collin Funk --- src/keylist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keylist.c b/src/keylist.c index c0bf2155..7d4c706a 100644 --- a/src/keylist.c +++ b/src/keylist.c @@ -454,7 +454,7 @@ parse_sec_field15 (gpgme_key_t key, gpgme_subkey_t subkey, char *field) subkey->secret = 0; key->secret = 1; } - else if (strchr ("01234567890ABCDEFabcdef", *field)) + else if (strchr ("0123456789ABCDEFabcdef", *field)) { /* Fields starts with a hex digit; thus it is a serial number. */ key->secret = 1; -- 2.50.0 From wk at gnupg.org Thu Jul 3 09:21:26 2025 From: wk at gnupg.org (Werner Koch) Date: Thu, 03 Jul 2025 09:21:26 +0200 Subject: [PATCH gpgme] Remove duplicate character passed to strchr. In-Reply-To: <5e22d59820d24bbcfb99fbc8f5782ea51284d557.1751511107.git.collin.funk1@gmail.com> (Collin Funk via Gnupg-devel's message of "Wed, 2 Jul 2025 19:51:54 -0700") References: <5e22d59820d24bbcfb99fbc8f5782ea51284d557.1751511107.git.collin.funk1@gmail.com> Message-ID: <87h5zt91u1.fsf@jacob.g10code.de> On Wed, 2 Jul 2025 19:51, Collin Funk said: > * src/keylist.c (parse_sec_field15): Remove duplicate '0' character. Thanks. Salam-Shalom, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: openpgp-digital-signature.asc Type: application/pgp-signature Size: 247 bytes Desc: not available URL: From wk at gnupg.org Thu Jul 3 09:24:32 2025 From: wk at gnupg.org (Werner Koch) Date: Thu, 03 Jul 2025 09:24:32 +0200 Subject: [PATCH gnupg v2] Disable CPU speculation-related misfeatures In-Reply-To: <1751021219.6405.6.camel@trentalancia.com> (Guido Trentalancia's message of "Fri, 27 Jun 2025 12:46:59 +0200") References: <1748260854.1126.8.camel@trentalancia.com> <87tt57fn0s.fsf@jacob.g10code.de> <1751021219.6405.6.camel@trentalancia.com> Message-ID: <87cyah91ov.fsf@jacob.g10code.de> Hi! I and other already explained that the way you propose the patches is not acceptable: - No autoconf macros and possibly tests to decide whether to use the feature. - No proper ChangeLog (see gnupg/doc/HACKING) Shalom-Salam, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: openpgp-digital-signature.asc Type: application/pgp-signature Size: 247 bytes Desc: not available URL: