Home GnuPG
Diffusion GnuPG ae3d0bb8e77c

agent: Avoid uninitialized buffer.

Description

agent: Avoid uninitialized buffer.

* agent/sexp-secret.c (fixup_when_ecc_private_key): Initialize buffer to
avoid its use on unexpected inputs.
  • GnuPG-bug-id: T5393
  • Co-authored-by: NIIBE Yutaka <gniibe@fsij.org>
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Sep 13 2021, 6:26 PM
gniibeCommitted on Nov 12 2021, 7:36 AM
Parents
rG50f32eb0664d: agent: Correctly free memory on error path.
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports