]> granicus.if.org Git - curl/commit
pipeline: Sanity check pipeline pointer before accessing it.
authorAnders Bakken <agbakken@gmail.com>
Mon, 7 Mar 2016 19:38:26 +0000 (11:38 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Mar 2016 23:25:53 +0000 (00:25 +0100)
commit46bf7ff78d2e851dafe2d20f003283979b2962f9
treef9ef6fad83745d9d46e256cf91f982e65c2db1c9
parent7e8b65c00bcaf3e7b6cf8244a556e36ed0a5a22b
pipeline: Sanity check pipeline pointer before accessing it.

I got a crash with this stack:

curl/lib/url.c:2873 (Curl_removeHandleFromPipeline)
curl/lib/url.c:2919 (Curl_getoff_all_pipelines)
curl/lib/multi.c:561 (curl_multi_remove_handle)
curl/lib/url.c:415 (Curl_close)
curl/lib/easy.c:859 (curl_easy_cleanup)

Closes #704
lib/pipeline.c
lib/url.c