commit | 2c70ad76c94db5427d37ab4b85dc89b94dd75e01 | [log] [tgz] |
---|---|---|
author | James Zern <jzern@google.com> | Thu Jun 14 07:03:34 2018 |
committer | James Zern <jzern@google.com> | Fri Jun 15 01:06:44 2018 |
tree | dda809144ea60eef99d3337524fc3000321b88ff | |
parent | 569001f19fc81fcb5ab358f587a54c62e7c4665c [diff] |
muxread,CreateInternal: fix riff size checks previously when adjusting size down based on a smaller riff_size the checks were insufficient to prevent 'size -= RIFF_HEADER_SIZE' from rolling over causing ChunkVerifyAndAssign to over read. the new checks are imported from demux.c. BUG=webp:386 Change-Id: If863c4a9892977b9ade7dd894392a0ecae13775c