mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-26 13:53:02 +01:00
the max wasn't checked leading to a rollover case, possibly exploitable. additionally check the RIFF size early, to avoid similar issues. pulled from chromium: http://codereview.chromium.org/11229048/ Change-Id: Ifebc712bf3d3de0129b76ca4c57c68e062abc429