The previous strip also removed the CR which turned problematic.
valgrind.supp: add zstd suppression using hyper
Reported-and-analyzed-by: Kevin Burke
Fixes #7169
Closes #7171
- libbrotli-dev
- libzstd-dev
- env:
- - T=debug HYPER="yes" C="--with-hyper=$HOME/hyper --with-openssl" LD_LIBRARY_PATH=$HOME/hyper/target/debug:/usr/local/lib TFLAGS="1 to 153"
+ - T=debug HYPER="yes" C="--with-hyper=$HOME/hyper --with-openssl" LD_LIBRARY_PATH=$HOME/hyper/target/debug:/usr/local/lib TFLAGS="1 to 153 220 221 222 223 224 230 232 314 315 316 396 397"
addons:
apt:
<<: *common_apt
# Verify data after the test has been "shot"
<verify>
<strippart>
-%if hyper
-s/^Accept-Encoding: .*/Accept-Encoding: xxx\r/
-%else
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
-%endif
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-%if hyper
Accept-Encoding: xxx\r
-%else
-Accept-Encoding: xxx
-%endif
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
<errorcode>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
<errorcode>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-%if hyper
-s/^Accept-Encoding: .*/Accept-Encoding: xxx\r/
-%else
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
-%endif
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-%if hyper
Accept-Encoding: xxx\r
-%else
-Accept-Encoding: xxx
-%endif
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
<errorcode>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Accept-Encoding: xxx
+Accept-Encoding: xxx\r
\r
</protocol>
</verify>
+{
+ zstd_decompression-1.3.3-on-Ubuntu-18.04_with_hyper
+ Memcheck:Cond
+ fun:ZSTD_decompressStream
+ fun:zstd_unencode_write
+ fun:Curl_unencode_write
+ fun:hyper_body_chunk
+}
+
{
zstd_decompression-1.3.3-on-Ubuntu-18.04
Memcheck:Cond