-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5339] Add missing nil check to extensions.go
There is a missing nil check, that might make the code result in a null pointer panic. For reference: IsDataMsg is: func (m *GossipMessage) IsDataMsg() bool { return m.GetDataMsg() != nil } Change-Id: I5e20dee188e863b932312a7963f0ca73965c1457 Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
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
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