mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:53:33 +03:00
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:
parent
04d3a8c714
commit
93bd512357
3 changed files with 50 additions and 3 deletions
30
tests/data/test289
Normal file
30
tests/data/test289
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue