Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion test/common/http/codec_impl_fuzz_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,13 @@ class HttpStream : public LinkedObject<HttpStream> {
}
}
// Perform the stream action.
directionalAction(request_, stream_action.request());
// The request_.request_encoder_ is initialized from the response_.response_decoder_.
// Fuzz test codec_impl_fuzz_test-5766628005642240 created a situation where the response
// stream was in closed state leading to the state.request_encoder_ in directionalAction()
// kData case no longer being a valid address.
if (response_.stream_state_ != HttpStream::StreamState::Closed) {
directionalAction(request_, stream_action.request());
}
break;
}
case test::common::http::StreamAction::kResponse: {
Expand Down