A non-numerical argument set repeat to 0 and lead to an integer overflow further down. This lead to OOB reading of memory.
19 lines
278 B
Text
19 lines
278 B
Text
NAME=pv
|
|
FILE=
|
|
CMDS=<<EOF
|
|
# Invalid input, check for segfault
|
|
pv iihasidbib
|
|
pv 0x9
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
0x0000000000000000
|
|
EOF
|
|
RUN
|