aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000dec.c
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2017-07-22 17:19:25 +0300
committerfoo86 <foobaz86@gmail.com>2017-07-26 21:23:07 +0300
commit5e715b583dab85735660b15a8d217a69164675fe (patch)
tree18a71229e85d9060e41a9cba8320dd5c8603561d /libavcodec/jpeg2000dec.c
parent0689cc2475557339a00240d05b7fc4fcb70e21cd (diff)
downloadffmpeg-5e715b583dab85735660b15a8d217a69164675fe.tar.gz
avcodec/dolby_e: fix potentially undefined pointer arithmetic
Avoid undefined behavior in skip_input() by checking that enough data is available before incrementing input pointer. Check return values of parse_key() and skip_input() and exit early with error if there is not enough data.
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
0 files changed, 0 insertions, 0 deletions