1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

test1427: verify command line parser integer overflow detection

This commit is contained in:
Daniel Stenberg 2017-08-06 21:33:25 +02:00
parent 5c7455fe76
commit 581011a3d2
2 changed files with 30 additions and 1 deletions

View File

@ -151,7 +151,7 @@ test1396 test1397 test1398 test1399 \
test1400 test1401 test1402 test1403 test1404 test1405 test1406 test1407 \ test1400 test1401 test1402 test1403 test1404 test1405 test1406 test1407 \
test1408 test1409 test1410 test1411 test1412 test1413 test1414 test1415 \ test1408 test1409 test1410 test1411 test1412 test1413 test1414 test1415 \
test1416 test1417 test1418 test1419 test1420 test1421 test1422 test1423 \ test1416 test1417 test1418 test1419 test1420 test1421 test1422 test1423 \
test1424 test1425 test1426 \ 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 test1450 test1451 \ test1444 test1445 test1446 test1450 test1451 \

29
tests/data/test1427 Normal file
View File

@ -0,0 +1,29 @@
<testcase>
<info>
<keywords>
integer overflow
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<name>
too large -m timeout value
</name>
<command>
http://%HOSTIP:%HTTPPORT/1427 -m 184467440737095510
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>