When the fetch system informs its clients that certificate verification has failed, it has already stopped and cleaned up the fetch.

Stop llcache_fetch_cert_error attempting to abort the fetch, as this will result in a double free.

svn path=/trunk/netsurf/; revision=10418
This commit is contained in:
John Mark Bell 2010-04-16 23:15:22 +00:00
parent 328fed8122
commit 01eb197f56

View File

@ -2161,8 +2161,7 @@ nserror llcache_fetch_cert_error(llcache_object *object,
{
nserror error = NSERROR_OK;
/* Abort fetch for this object */
fetch_abort(object->fetch.fetch);
/* Fetch has been stopped, and destroyed. Invalidate object's pointer */
object->fetch.fetch = NULL;
/* Invalidate cache-control data */