summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Shchapov <vladislav@shchapov.ru>2022-08-19 16:33:59 +0500
committerHans Kristian Rosbach <hk-github@circlestorm.org>2023-03-17 21:27:56 +0100
commitaa4bbe8a51beb00e3bbca380969daf5ce855289d (patch)
tree521ff867c47db72b936f4edd45f578e05d3d5415
parent85ce8e2da8630b8d1d665bc76a96f998e9041f76 (diff)
Add CVE-2022-37434 test.
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
-rw-r--r--test/infcover.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/infcover.c b/test/infcover.c
index 3446289..cc597f3 100644
--- a/test/infcover.c
+++ b/test/infcover.c
@@ -670,6 +670,10 @@ static void cover_fast(void) {
Z_STREAM_END);
}
+static void cover_cve_2022_37434(void) {
+ inf("1f 8b 08 04 61 62 63 64 61 62 52 51 1f 8b 08 04 61 62 63 64 61 62 52 51 1f 8b 08 04 61 62 63 64 61 62 52 51 1f 8b 08 04 61 62 63 64 61 62 52 51", "wtf", 13, 47, 12, Z_OK);
+}
+
int main(void) {
fprintf(stderr, "%s\n", zVersion());
cover_support();
@@ -678,5 +682,6 @@ int main(void) {
cover_inflate();
cover_trees();
cover_fast();
+ cover_cve_2022_37434();
return 0;
}