Home GnuPG
Diffusion GnuPG dcb0b6fd4822

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

Details

Provenance
JakujeAuthored on May 28 2024, 5:15 PM
wernerCommitted on May 28 2024, 5:15 PM
Parents
rG28c705a3be5c: gpgsm: Silence a lint warning
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp