mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
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
This commit is contained in:
parent
0af5ac27c3
commit
5b54df06d2
5 changed files with 175 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ noinst_PROGRAMS = chkhostname libauthretry libntlmconnect \
|
|||
lib1525 lib1526 lib1527 lib1528 lib1529 lib1530 lib1531 lib1532 lib1533 \
|
||||
lib1534 lib1535 lib1536 lib1537 lib1538 \
|
||||
lib1540 \
|
||||
lib1550 lib1551 lib1552 \
|
||||
lib1550 lib1551 lib1552 lib1553 \
|
||||
lib1900 \
|
||||
lib2033
|
||||
|
||||
|
|
@ -457,6 +457,9 @@ lib1551_CPPFLAGS = $(AM_CPPFLAGS)
|
|||
lib1552_SOURCES = lib1552.c $(SUPPORTFILES) $(TESTUTIL)
|
||||
lib1552_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
lib1553_SOURCES = lib1553.c $(SUPPORTFILES) $(TESTUTIL)
|
||||
lib1553_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
lib1900_SOURCES = lib1900.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
|
||||
lib1900_LDADD = $(TESTUTIL_LIBS)
|
||||
lib1900_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue