Home GnuPG

crl: Fix minor memory leak in case of a corrupt DER structure.

Description

crl: Fix minor memory leak in case of a corrupt DER structure.

* src/crl.c (parse_one_extension): Replace a return by a goto to make
  sure everything is cleaned up.

In this error code path we leaked the allocated oid.

  • Reported-by: Marcello Maugeri

Details

Provenance
wernerAuthored on Thu, Apr 23, 10:03 AM
Parents
rKfb554939cfcd: Post release updates
Branches
Unknown
Tags
Unknown
References
HEAD -> master