summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-06-01 14:04:17 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-06-01 15:24:49 +0200
commitf810047f9d7a983c4479ae07f79282b7c9b54ccb (patch)
treebae9d2b197053d3c984ebc55bbbee19176c89c31 /tests
parent45de940cebf6ac897674018c460c1e73e7e082ad (diff)
downloadcurl-f810047f9d7a983c4479ae07f79282b7c9b54ccb.tar.gz
headers: handle unfold of space-cleansed headers
Detected by OSS-fuzz Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47767 Updated test 1274 Closes #8947
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test12746
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/data/test1274 b/tests/data/test1274
index ae29f4899..21d6f61c0 100644
--- a/tests/data/test1274
+++ b/tests/data/test1274
@@ -19,7 +19,8 @@ Server: test-server/
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Content-Length: 6
-Connection: close
+Connection:
+ close
-foo-
</data>
@@ -58,7 +59,8 @@ Server: test-server/
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Content-Length: 6
-Connection: close
+Connection:
+ close
</file>
</verify>