Skip to content

Commit

Permalink
fuzz: converting object to non-static due to fuzzer OOM (#25174)
Browse files Browse the repository at this point in the history
fuzz: converting object to non-statuc due to fuzzer OOM

Signed-off-by: Adi Suissa-Peleg <[email protected]>
  • Loading branch information
adisuissa authored Jan 26, 2023
1 parent 3ad5ade commit 8cb9a81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion test/common/http/http2/response_header_fuzz_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void replay(const Frame& frame, ClientCodecFrameInjector& codec) {
}

DEFINE_FUZZER(const uint8_t* buf, size_t len) {
static ClientCodecFrameInjector codec;
ClientCodecFrameInjector codec;
Frame frame;
frame.assign(buf, buf + len);
// Replay with the fuzzer bytes.
Expand Down

0 comments on commit 8cb9a81

Please sign in to comment.