summaryrefslogtreecommitdiffstats
path: root/libavformat/swf.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2019-12-09 23:26:03 +0100
committerMichael Niedermayer <[email protected]>2020-07-01 13:33:44 +0200
commit3b4eae4cae3123ddefad6899ec01425fa65ec802 (patch)
tree54bd488b0200cf7fca9fc234499a9a8be8e259fa /libavformat/swf.h
parente9b438371232cd127717530e67421d86fc50f249 (diff)
avcodec/cbs_h2645: Treat slices without data as invalid
Slices that end after their header (meaning slices after the header without any data before the rbsp_stop_one_bit or possibly without any rbsp_stop_one_bit at all) are invalid and are now dropped. This ensures that one doesn't run into two asserts in cbs_h2645_write_slice_data(). Signed-off-by: Andreas Rheinhardt <[email protected]> Fixes: 19629/clusterfuzz-testcase-minimized-ffmpeg_BSF_H264_METADATA_fuzzer-5676822528524288 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 66fac1ff7ccbc4fb6a3aa6b9a95de7b6bc31d14e) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/swf.h')
0 files changed, 0 insertions, 0 deletions