diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-12-28 11:27:56 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-03-12 20:42:12 +0100 |
commit | 83b2b34d06e74cc8775ba3d833f9782505e17539 (patch) | |
tree | a60bb55456b8fa0d1adabaad7762e79c0bdec36a /compat/nvenc | |
parent | b76f6a76c6312dc551d7c37c6ded36bea7973c74 (diff) | |
download | ffmpeg-83b2b34d06e74cc8775ba3d833f9782505e17539.tar.gz |
h2645_parse: use the bytestream2 API for packet splitting
The code does some nontrivial jumping around in the buffer, so it is
safer to use a checked API rather than do everything manually.
Fixes a bug in nalff parsing, where the length field is currently not
counted in the buffer size check, resulting in possible overreads with
invalid files.
CC: libav-stable@libav.org
Bug-Id: 1002
Found-By: Kamil Frankowicz
Diffstat (limited to 'compat/nvenc')
0 files changed, 0 insertions, 0 deletions