diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-10-06 17:20:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-07 00:20:31 +0200 |
commit | 5b54df06d2cec422d5f237e0fa0212be0303edce (patch) | |
tree | d37eab3cb0209848942478c593902af21c689090 /src/tool_vms.h | |
parent | 0af5ac27c3d818f0a962de1e1029c0af7d497080 (diff) |
pingpong: return error when trying to send without connection
When imap_done() got called before a connection is setup, it would try
to "finish up" and dereffed a NULL pointer.
Test case 1553 managed to reproduce. I had to actually use a host name
to try to resolve to slow it down, as using the normal local server IP
will make libcurl get a connection in the first curl_multi_perform()
loop and then the bug doesn't trigger.
Fixes #1953
Assisted-by: Max Dymond
Diffstat (limited to 'src/tool_vms.h')
0 files changed, 0 insertions, 0 deletions