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.
This commit is contained in:
Dan Fandrich 2007-07-10 22:23:16 +00:00
parent 04d3a8c714
commit 93bd512357
3 changed files with 50 additions and 3 deletions

30
tests/data/test289 Normal file
View file

@ -0,0 +1,30 @@
<testcase>
<info>
<keywords>
FTP
STOR
Resume
FAILURE
</keywords>
</info>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP resume upload but denied access to remote file
</name>
<command>
ftp://%HOSTIP:%FTPPORT/289 -T log/illegal-nonexistent-file -C -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
26
</errorcode>
</verify>
</testcase>