Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix double-free in gnutls_pkcs12_simple_parse()
Fixed by Chen Hongzhi <hongzhi.chen@me.com> in GnuTLS (commit fc06699d).

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Nov 6, 2014
1 parent e211e0b commit d44bd00
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gnutls_pkcs12.c
Expand Up @@ -257,7 +257,6 @@ gnutls_pkcs12_simple_parse (gnutls_pkcs12_t p12,
if (ret < 0)
{
gnutls_assert ();
gnutls_x509_privkey_deinit (*key);
goto done;
}

Expand All @@ -268,7 +267,6 @@ gnutls_pkcs12_simple_parse (gnutls_pkcs12_t p12,
if (ret < 0)
{
gnutls_assert ();
gnutls_x509_privkey_deinit (*key);
goto done;
}

Expand Down

0 comments on commit d44bd00

Please sign in to comment.