Home GnuPG
Diffusion GnuPG f54944693376

gpg-auth: Fix use after free.

Description

gpg-auth: Fix use after free.

* tools/gpg-auth.c (ssh_authorized_keys): Move free after printing error
message.

This is part of
(cherry picked from commit 9adaa79ab43e2f87178b8ee5ab1a353cba384606)

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

Details

Provenance
JakujeAuthored on May 28 2024, 5:19 PM
wernerCommitted on May 29 2024, 11:49 AM
Parents
rGece154562f00: gpgsm: Avoid double free when checking rsaPSS signatures.
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp