GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Drop unknown frame on missing stream in first packet by yawkat · Pull Request #15646 · netty/netty Conversation
Contributor
Motivation: If an unknown frame with an unknown stream is received in the first packet, the PrefaceFrameListener is called instead of the normal frame listener. This means that the fix in #15592 is bypassed. Modification: Modify PrefaceFrameListener to require the preface has come in (this is checked by the decoder already) and delegate to the current listener. Inline onUnknownFrame0 because it's only used in the normal listener, now. Result: No NPE. Found by fuzzing
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: If an unknown frame with an unknown stream is received in the first packet, the PrefaceFrameListener is called instead of the normal frame listener. This means that the fix in #15592 is bypassed. Modification: Modify PrefaceFrameListener to require the preface has come in (this is checked by the decoder already) and delegate to the current listener. Inline onUnknownFrame0 because it's only used in the normal listener, now. Result: No NPE. Found by fuzzing
normanmaurer
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
normanmaurer
pushed a commit
that referenced
this pull request
Motivation: If an unknown frame with an unknown stream is received in the first packet, the PrefaceFrameListener is called instead of the normal frame listener. This means that the fix in #15592 is bypassed. Modification: Modify PrefaceFrameListener to require the preface has come in (this is checked by the decoder already) and delegate to the current listener. Inline onUnknownFrame0 because it's only used in the normal listener, now. Result: No NPE. Found by fuzzing
normanmaurer
added a commit
that referenced
this pull request
Motivation: If an unknown frame with an unknown stream is received in the first packet, the PrefaceFrameListener is called instead of the normal frame listener. This means that the fix in #15592 is bypassed. Modification: Modify PrefaceFrameListener to require the preface has come in (this is checked by the decoder already) and delegate to the current listener. Inline onUnknownFrame0 because it's only used in the normal listener, now. Result: No NPE. Found by fuzzing Co-authored-by: Jonas Konrad <[email protected]>
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |