[Pkg-gnupg-maint] Bug#773471: Fwd: Double free

Joshua Rogers honey at internot.info
Thu Dec 18 18:33:10 UTC 2014


Package: gnupg2
Version: 2.1.1
Severity: normal

Hi,

In scd/command.c, 'cert' is freed twice.

Not sure of lines, so I'll copy and paste the code.

> rc = ksba_cert_new (&kc); if (rc) { xfree (cert); goto leave; } 

> leave: ksba_cert_release (kc); xfree (cert); TEST_CARD_REMOVAL (ctrl,
> rc); return rc; 

Thanks,

-- 
-- Joshua Rogers <https://internot.info/>



More information about the Pkg-gnupg-maint mailing list