Date: Wed, 17 Feb 2016 11:40:03 +0000 (UTC) From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r295692 - stable/10/lib/libfetch Message-ID: <201602171140.u1HBe3sq098503@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Wed Feb 17 11:40:03 2016 New Revision: 295692 URL: https://svnweb.freebsd.org/changeset/base/295692 Log: MFH (r295536): fix double-free error when SSL connection fails PR: 206774 Submitted by: Christian Heckendorf <heckendorfc@gmail.com> Approved by: re (glebius) Modified: stable/10/lib/libfetch/http.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libfetch/http.c ============================================================================== --- stable/10/lib/libfetch/http.c Wed Feb 17 11:38:43 2016 (r295691) +++ stable/10/lib/libfetch/http.c Wed Feb 17 11:40:03 2016 (r295692) @@ -1435,7 +1435,6 @@ http_connect(struct url *URL, struct url } if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && fetch_ssl(conn, URL, verbose) == -1) { - fetch_close(conn); /* grrr */ errno = EAUTH; fetch_syserr();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602171140.u1HBe3sq098503>