mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
Avoid possible double free in export.c.
* g10/export.c (transfer_format_to_openpgp): Avoid possible double free of LIST. Reported by NIIBE Yutaka.
This commit is contained in:
parent
c3f1557853
commit
51da31a60a
@ -507,7 +507,7 @@ transfer_format_to_openpgp (gcry_sexp_t s_pgp, PKT_public_key *pk)
|
||||
}
|
||||
skey[skeyidx++] = NULL;
|
||||
|
||||
gcry_sexp_release (list);
|
||||
gcry_sexp_release (list); list = NULL;
|
||||
|
||||
/* We have no need for the CSUM valuel thus we don't parse it. */
|
||||
/* list = gcry_sexp_find_token (top_list, "csum", 0); */
|
||||
|
Loading…
x
Reference in New Issue
Block a user