summaryrefslogtreecommitdiff
path: root/vpx/vpx_decoder.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-08-23 21:06:36 -0700
committerJames Zern <jzern@google.com>2016-08-24 19:22:57 -0700
commit4699aca87fad249d38018abba30ecd51143a1257 (patch)
tree2cccea28775fbb3a6318c42ea69c422925cdb1e8 /vpx/vpx_decoder.h
parent963291217f9b06c8fe0f8bbc5553d490d14164c4 (diff)
downloadlibvpx-4699aca87fad249d38018abba30ecd51143a1257.tar
libvpx-4699aca87fad249d38018abba30ecd51143a1257.tar.gz
libvpx-4699aca87fad249d38018abba30ecd51143a1257.tar.bz2
libvpx-4699aca87fad249d38018abba30ecd51143a1257.zip
vpx_mem: add basic size check
set a max allocable size to prevent overflows in 32-bit and extremely large allocation attempts in 64-bit. this could be amended to allow size or num parameters to be 64-bits with the correct size being used at each call site. BUG=webm:819 Change-Id: Ia81004d6c4279680714c4488b4f6cf287ab396a5
Diffstat (limited to 'vpx/vpx_decoder.h')
0 files changed, 0 insertions, 0 deletions