]> git.ipfire.org Git - thirdparty/curl.git/commit
multi_done: if multiplexed, make conn->data point to another transfer
authorDaniel Stenberg <daniel@haxx.se>
Mon, 27 Jan 2020 21:50:33 +0000 (22:50 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 28 Jan 2020 12:00:41 +0000 (13:00 +0100)
commitdb9af34634e36d34067fff506915dcf7a783a1e2
tree2235a562af9541a8998474d645862f3c2b7faed2
parent8b7fff3311fd0caaf9e385bafedeb13f6ac2e161
multi_done: if multiplexed, make conn->data point to another transfer

... since the current transfer is being killed. Setting to NULL is
wrong, leaving it pointing to 'data' is wrong since that handle might be
about to get freed.

Fixes #4845
Closes #4858
Reported-by: dmitrmax on github
lib/multi.c
lib/url.c