-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fuzz] H1 codec fuzzer - disable dispatching data on stream that was …
…reset (#13014) * [h1 codec] Avoid sending protocol error on reset stream An H1 codec fuzzer detected an assertion failure in ServerConnectionImpl::sendProtocolError(). This is a valid assertion, and the crash happens because the call to onMessageBeginBase() doesn't initialize active_request_ after the stream was reset, during the fuzz test buffer draining step. Further investigation showed that this shouldn't happen because the connection is closed when the stream is reset, and so sendProtocolError() will not be called. Signed-off-by: Adi Suissa-Peleg <adip@google.com>
- Loading branch information
Showing
2 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
test/common/http/codec_impl_corpus/h1_dispatch_after_reset
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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