-
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.
webp: fix panic in case of invalid chunkID
At the time of decoding webp file, if chunkID is not one of {'ALPH', 'VP8', 'VP8L', 'VP8X'} return errInvalidFormat Fixes golang/go#10384 Change-Id: I167909b5ddef174d161f806297a08fac6aabcf19 Reviewed-on: https://go-review.googlesource.com/9839 Reviewed-by: Nigel Tao <[email protected]>
- Loading branch information
1 parent
7c42b34
commit 97f630f
Showing
2 changed files
with
6 additions
and
4 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