Home GnuPG
Diffusion GnuPG 3c5a1439458b

Fix access to the bintoasc mapping in the libksba support.

Description

Fix access to the bintoasc mapping in the libksba support.

* common/ksba-io-support.c (has_only_base64): Use memchr since calling
strchr on a non-NUL terminated string is undefined behavior.

This patch has been stripped from Colin's original patch because this
is not just about a warning but an actual bug. That bug was
introduced in 2003 by me. - wk

  • Signed-off-by: Collin Funk <collin.funk1@gmail.com>

Details

Provenance
collinfunkAuthored on Wed, Apr 30, 10:36 AM
wernerCommitted on Wed, Apr 30, 10:36 AM
Parents
rGd90b290f976b: gpg: New command --quick-tsign-key.
Branches
Unknown
Tags
Unknown