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 /tests/libtest/Makefile.inc | |
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 'tests/libtest/Makefile.inc')
-rw-r--r-- | tests/libtest/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 59e3b281d..fe0433813 100644 --- a/tests/libtest/Makefile.inc +++ b/tests/libtest/Makefile.inc @@ -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) |