-
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.
openpgp: Fix panic on opaque subpackets with length 0.
Some invalid input may be parsed so that the length of an opaque subpacket turns out to be 0. In such cases, arrange for a StructuralError to be returned indicating truncation. Found using gofuzz. Fixes golang/go#11503 Change-Id: Ib9ce8c604f35a31f852adfcd56a22dfd143a9443 Reviewed-on: https://go-review.googlesource.com/12634 Reviewed-by: Adam Langley <[email protected]>
- Loading branch information
1 parent
870f561
commit 1b94d42
Showing
2 changed files
with
28 additions
and
3 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
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