Home GnuPG
Diffusion GnuPG bc43812358ed

gpgsm: Avoid double free when checking rsaPSS signatures.

Description

gpgsm: Avoid double free when checking rsaPSS signatures.

* sm/certcheck.c (gpgsm_check_cms_signature): Do not free s_sig on
error. Its owned and freed by the caller.

This is part of
(cherry picked from commit dcb0b6fd4822107d68bcb046d4d0650d02c82522)

Details

Provenance
JakujeAuthored on May 28 2024, 5:15 PM
wernerCommitted on May 29 2024, 11:58 AM
Parents
rGa1f85fdc40e4: agent: Avoid uninitialized access in GENKEY command on parameter error.
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp