From 93bd5123571092b2ccf925ca00cfe107e00f9f68 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 10 Jul 2007 22:23:16 +0000 Subject: Fixed a curl memory leak reported by Song Ma with a modified version of the patch he suggested. Added his test case as test289 to verify. --- tests/data/Makefile.am | 2 +- tests/data/test289 | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 tests/data/test289 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index f18df11b5..4af0491ca 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -42,4 +42,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test405 test604 test605 test606 test607 test608 test609 test294 test295 \ test296 test297 test298 test610 test611 test612 test406 test407 test408 \ test409 test613 test614 test700 test701 test702 test704 test705 test703 \ - test706 test707 test350 test351 test352 test353 + test706 test707 test350 test351 test352 test353 test289 diff --git a/tests/data/test289 b/tests/data/test289 new file mode 100644 index 000000000..63184e737 --- /dev/null +++ b/tests/data/test289 @@ -0,0 +1,30 @@ + + + +FTP +STOR +Resume +FAILURE + + + +# Client-side + + +ftp + + +FTP resume upload but denied access to remote file + + +ftp://%HOSTIP:%FTPPORT/289 -T log/illegal-nonexistent-file -C - + + + +# Verify data after the test has been "shot" + + +26 + + + -- cgit v1.2.3