Diffusion GnuPG dd4fb1c8f668

gpg: Fix first zero-byte case for SOS handling.

Authored by gniibe on Oct 30 2020, 7:21 AM.

Description

gpg: Fix first zero-byte case for SOS handling.

* g10/export.c (transfer_format_to_openpgp): Check the first byte.
* g10/pkglue.c (sexp_extract_param_sos): Likewise.
  • GnuPG-bug-id: T5116
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>