mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
test1449: FTP download range with an too large size
This commit is contained in:
parent
ff50fe0348
commit
91c46dc44e
@ -154,7 +154,7 @@ test1416 test1417 test1418 test1419 test1420 test1421 test1422 test1423 \
|
|||||||
test1424 test1425 test1426 test1427 \
|
test1424 test1425 test1426 test1427 \
|
||||||
test1428 test1429 test1430 test1431 test1432 test1433 test1434 test1435 \
|
test1428 test1429 test1430 test1431 test1432 test1433 test1434 test1435 \
|
||||||
test1436 test1437 test1438 test1439 test1440 test1441 test1442 test1443 \
|
test1436 test1437 test1438 test1439 test1440 test1441 test1442 test1443 \
|
||||||
test1444 test1445 test1446 test1447 test1448 test1450 test1451 \
|
test1444 test1445 test1446 test1447 test1448 test1449 test1450 test1451 \
|
||||||
test1452 \
|
test1452 \
|
||||||
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
|
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
|
||||||
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
|
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
|
||||||
|
38
tests/data/test1449
Normal file
38
tests/data/test1449
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# initially based on test110
|
||||||
|
<testcase>
|
||||||
|
<info>
|
||||||
|
<keywords>
|
||||||
|
FTP
|
||||||
|
PASV
|
||||||
|
RETR
|
||||||
|
Resume
|
||||||
|
</keywords>
|
||||||
|
</info>
|
||||||
|
# Server-side
|
||||||
|
<reply>
|
||||||
|
</reply>
|
||||||
|
|
||||||
|
# Client-side
|
||||||
|
<client>
|
||||||
|
<server>
|
||||||
|
ftp
|
||||||
|
</server>
|
||||||
|
<name>
|
||||||
|
FTP download range with integer overflow
|
||||||
|
</name>
|
||||||
|
<command>
|
||||||
|
ftp://%HOSTIP:%FTPPORT/1449 -r 36893488147419103232-
|
||||||
|
</command>
|
||||||
|
</client>
|
||||||
|
|
||||||
|
# Verify data after the test has been "shot"
|
||||||
|
<verify>
|
||||||
|
<protocol>
|
||||||
|
USER anonymous
|
||||||
|
PASS ftp@example.com
|
||||||
|
PWD
|
||||||
|
EPSV
|
||||||
|
QUIT
|
||||||
|
</protocol>
|
||||||
|
</verify>
|
||||||
|
</testcase>
|
Loading…
Reference in New Issue
Block a user