From ae13c93b7db9f9c68eaf95150ed551b3b649d8c4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Sep 2006 21:26:06 +0000 Subject: Reported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurl would crash if a bad function sequence was used when shutting down after using the multi interface (i.e using easy_cleanup after multi_cleanup) so precautions have been added to make sure it doesn't any more - test case 529 was added to verify. --- tests/data/test529 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/data/test529 (limited to 'tests/data/test529') diff --git a/tests/data/test529 b/tests/data/test529 new file mode 100644 index 000000000..d5c657d30 --- /dev/null +++ b/tests/data/test529 @@ -0,0 +1,55 @@ + + +FTP +PORT +STOR + + +# Server-side + + + + + +# Client-side + + +ftp + + +lib529 + + +FTP PORT upload using multi interface (weird cleanup function sequence) + + +ftp://%HOSTIP:%FTPPORT/path/529 log/upload529 + + +Moooooooooooo + upload this + + + +# Verify data after the test has been "shot" + + +^PORT .* +^EPRT .* +^LPRT .* + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD path +PORT 127,0,0,1,5,109 +TYPE I +STOR 529 +QUIT + + +Moooooooooooo + upload this + + -- cgit v1.2.3