Home GnuPG
Diffusion GnuPG a1f85fdc40e4

agent: Avoid uninitialized access in GENKEY command on parameter error.

Description

agent: Avoid uninitialized access in GENKEY command on parameter error.

* agent/command.c (cmd_genkey): Moved init_membuf to the top.

This is part of

(cherry picked from commit 379fc5569d604c4a7b5f12b2bbfc4106893c2a9e)

  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • GnuPG-bug-id: T7129

Details

Provenance
JakujeAuthored on May 28 2024, 4:50 PM
wernerCommitted on May 29 2024, 11:57 AM
Parents
rGebf9e3b824f8: wks: Make sure that ERR is always initialized.
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp