Diffusion GnuPG 8ec9573e5786

gpg: Fix segv importing certain keys.

Authored by werner on Wed, Sep 2, 3:30 PM.

Description

gpg: Fix segv importing certain keys.

* g10/key-check.c (key_check_all_keysigs): Initialize issuer.

from 2017

Details

Committed
wernerWed, Sep 2, 3:30 PM
Parents
rG497db0b5bcd6: keyboxd: Restructure client access code.
Branches
Unknown
Tags
Unknown
Tasks
T5030: Release GnuPG 2.2.22
werner added a comment.Wed, Sep 2, 4:10 PM

See https://bugzilla.opensuse.org/show_bug.cgi?id=1176034 for the original bug report. I was not able to replicate the crash but the bad reads. The error is pretty obvious: The code expects that all fields are zeroed out.