mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
47dd957daf
... fixes an integer overflow at the same time. Reported-by: ihsinme on github Assisted-by: Jay Satiro Closes #5946
58 lines
772 B
Plaintext
58 lines
772 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TrackMemory
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
TrackMemory
|
|
ipv6
|
|
</features>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib558
|
|
</tool>
|
|
|
|
<name>
|
|
libtest memory tracking operational
|
|
</name>
|
|
<command>
|
|
nothing
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<file name="log/memdump">
|
|
MEM lib558.c: malloc()
|
|
MEM lib558.c: free()
|
|
MEM dynbuf.c: realloc()
|
|
MEM dynbuf.c: realloc()
|
|
MEM escape.c: free()
|
|
</file>
|
|
<stripfile>
|
|
s/^MEM escape.c:\d+ free\(\(nil\)\)[\n]$//
|
|
s/ =.*//
|
|
s/\(.*\)/()/
|
|
s/:\d+/:/
|
|
s:^(MEM |FD )(.*/)(.*):$1$3:
|
|
s/\r\n/\n/
|
|
s/^MEM getenv.c: realloc\(\)[\n]$//
|
|
s/^MEM getenv.c: free\(\)[\n]$//
|
|
</stripfile>
|
|
</verify>
|
|
|
|
</testcase>
|