https://bugs.gentoo.org/962891 https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgmeqt.git;a=commit;h=86d58c452e0028ea3b59a6ceac7060ece99b4fd2 From 86d58c452e0028ea3b59a6ceac7060ece99b4fd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 14 Jul 2025 12:24:09 +0200 Subject: [PATCH] Improve the fix for the DN parser * src/dn.cpp (parse_dn_part): Set end of hex string to size of string if no non-hex characters were found. Remove special-casing of remove_prefix call. -- --- src/dn.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/dn.cpp b/src/dn.cpp index 90632cc..fb64c6e 100644 --- a/src/dn.cpp +++ b/src/dn.cpp @@ -215,15 +215,14 @@ static std::pair, std::pair