forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible NPE in DefaultHttp2UnknownFrame#equals (netty#9625)
Motivation: `DefaultHttp2UnknownFrame#equals` may produce NPE due to incorrect comparison of `stream` field. Modification: - Fix the `stream` field compare. - Cleanup usage of class fields: use direct access instead of getters (because the class is final). Result: No NPE in `equals` method.
- Loading branch information
1 parent
4dc1ecc
commit 1fb5ff1
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
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