Home GnuPG
Diffusion Scute 9a61a3267f7d

Avoid endless loop due to bogus certificate chains.

Description

Avoid endless loop due to bogus certificate chains.

* src/gpgsm.c (struct search_cb_parm): Add field depth.
(scute_gpgsm_get_cert): Clear new field.
(search_cb): Check for a too deep recursion.

Details

Provenance
wernerAuthored on Aug 22 2022, 7:50 AM
gniibeCommitted on Sep 28 2022, 7:49 AM
Parents
rS3d3222d9f9a0: Add configure option only-marked
Branches
Unknown
Tags
Unknown