[master] ff7922b Add test for #2617
Federico G. Schwindt
fgsch at lodoss.net
Sat Apr 14 19:34:07 UTC 2018
commit ff7922b799f5c02b5cc257caebee504873d94eaa
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sat Apr 14 20:19:24 2018 +0100
Add test for #2617
diff --git a/bin/varnishtest/tests/r02617.vtc b/bin/varnishtest/tests/r02617.vtc
new file mode 100644
index 0000000..78d9d2a
--- /dev/null
+++ b/bin/varnishtest/tests/r02617.vtc
@@ -0,0 +1,16 @@
+varnishtest "Test undefined-behaviour: signed integer overflow"
+
+server s1 {
+ rxreq
+ txresp
+} -start
+
+varnish v1 -vcl+backend {
+
+} -start
+
+client c1 {
+ txreq -hdr "Content-Length: 9223372036854775808"
+ rxresp
+ expect resp.status == 400
+} -run
More information about the varnish-commit
mailing list