diff options
author | James Zern <jzern@google.com> | 2014-09-04 16:05:18 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2014-09-04 19:14:21 -0700 |
commit | bb4950dfdf0610080648aae5b717384e6c689e63 (patch) | |
tree | bcdf6ffaf38bb218b06674552cee01157854165c /vpx_mem/vpx_mem.h | |
parent | 440f5097c7c402b904285af31c89e4064fadbaff (diff) | |
download | libvpx-bb4950dfdf0610080648aae5b717384e6c689e63.tar libvpx-bb4950dfdf0610080648aae5b717384e6c689e63.tar.gz libvpx-bb4950dfdf0610080648aae5b717384e6c689e63.tar.bz2 libvpx-bb4950dfdf0610080648aae5b717384e6c689e63.zip |
vp9: correct context buffer resize check
allocations within vp9_alloc_context_buffers() rely on mi_rows/mi_cols
individually, use those to determine whether to realloc rather than
stride and stride * rows. this fixes a crash with some fuzzed files for
invalid accesses into last_frame_seg_map and above_context.
Change-Id: I7b9f40dcf170d443890f3bd2acd285507943c7d4
Diffstat (limited to 'vpx_mem/vpx_mem.h')
0 files changed, 0 insertions, 0 deletions