-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webp] Enforce minimum read size in decodeChunks
The size parameter is only checked for upper bounds, but not for lower. If it is too small, then created dataBuf will be too small and overflow in one of the subsequent memcpy() calls. This fixes #378 / CVE-2018-14046
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 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