From: Nikos Mavrogiannopoulos Date: Mon, 23 Mar 2015 21:55:29 +0000 (+0100) Subject: eliminated double-free in the parsing of dist points X-Git-Tag: gnutls_3_4_0~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6ffef4704753b54353ecf85f0efa6be60bc492d;p=thirdparty%2Fgnutls.git eliminated double-free in the parsing of dist points Reported by Robert Święcki. --- diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c index bdec2412d0..2fa13e3110 100644 --- a/lib/x509/x509_ext.c +++ b/lib/x509/x509_ext.c @@ -2359,7 +2359,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; }