-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuzz: make H2 codec fuzz test more robust to unexpected new streams. (#…
…4234) Previously, mutations that generated new streams that we weren't expecting could cause the fuzzer itself to dereference a null pointers in ON_CALL(newStream). Fixes oss-fuzz issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9813. Risk level: Low Testing: Corpus entry added. Signed-off-by: Harvey Tuch <htuch@google.com>
- Loading branch information
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...p2/codec_impl_corpus/clusterfuzz-testcase-minimized-codec_impl_fuzz_test-5728207897624576
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
actions { new_stream { request_headers { headers { key: " " value: " " } headers { value: "�" } headers { key: ":method" value: "GET" } } } } actions { mutate { buffer: 2 offset: 2 value: 2 } } actions { quiesce_drain { } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters