and use it to validate decoder allocations. fixes a crash in jpegdec at least. BUG=webp:312 Change-Id: Ia940590098f29510add6aad10a8dfe9e9ea46bf4 (cherry picked from commit bc86b7a8a1)
bc86b7a8a1