Home GnuPG
Diffusion GnuPG ece154562f00

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:48 AM
Parents
rG524e3a934568: scd: Avoid buffer overrun with more than 16 PC/SC readers.
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp