diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-16 23:15:22 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-16 23:15:22 +0000 |
commit | 01eb197f56ae69b0e4dba5d3475585d9cdda599c (patch) | |
tree | 5ddda924fde5e4aa0065dffb1ea17791ea2f07a7 /content | |
parent | 328fed8122e90b58fe9eb85527f8d62f5df262fd (diff) | |
download | netsurf-01eb197f56ae69b0e4dba5d3475585d9cdda599c.tar.gz netsurf-01eb197f56ae69b0e4dba5d3475585d9cdda599c.tar.bz2 |
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
Diffstat (limited to 'content')
-rw-r--r-- | content/llcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content/llcache.c b/content/llcache.c index 2d8472b0c..0d20fe8ac 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -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 */ |