-
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.
Prevent peer from failure on malformed proposal
While new peer gateway service is trying to extract channel and chaincode information from the signed proposal it doesn't check the proposal fields for validity and therefore malformed proposal might end up with crashing peer service. This commit adds validation to the parameters extracted from the proposal. Signed-off-by: Artem Barger <artem@bargr.net> (cherry picked from commit 7478f53)
- Loading branch information
Showing
2 changed files
with
73 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