diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-23 22:55:29 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-27 18:04:53 +0100 |
commit | d6972be33264ecc49a86cd0958209cd7363af1e9 (patch) | |
tree | 9a69672ff4ad4ecf3b0dfe57fc23ace49f7572f6 | |
parent | 1edaec0984f809baf8ba4204856d083415cb9a1c (diff) | |
download | gnutls-d6972be33264ecc49a86cd0958209cd7363af1e9.tar.gz |
eliminated double-free in the parsing of dist points
Reported by Robert Święcki.
-rw-r--r-- | lib/x509/x509_ext.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c index c8d586730c..6f09438b80 100644 --- a/lib/x509/x509_ext.c +++ b/lib/x509/x509_ext.c @@ -2360,7 +2360,6 @@ int gnutls_x509_ext_import_crl_dist_points(const gnutls_datum_t * ext, if (ret < 0 && ret != GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) { gnutls_assert(); - gnutls_free(san.data); goto cleanup; } |