diff options
author | foo86 <foobaz86@gmail.com> | 2017-07-22 17:19:25 +0300 |
---|---|---|
committer | foo86 <foobaz86@gmail.com> | 2017-07-26 21:23:07 +0300 |
commit | 5e715b583dab85735660b15a8d217a69164675fe (patch) | |
tree | 18a71229e85d9060e41a9cba8320dd5c8603561d /libavcodec/jpeg2000dec.c | |
parent | 0689cc2475557339a00240d05b7fc4fcb70e21cd (diff) | |
download | ffmpeg-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