aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-09 23:26:03 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-05-19 17:17:36 +0200
commitfe7f3e3d27854c96bfe7bd6c3afb46398bb93130 (patch)
tree51c3216630e2cf70a36bb98cfd666492de5e3317 /libavresample
parentb10b63f24a27b466565e07dadd90c7816a8c6a33 (diff)
downloadffmpeg-fe7f3e3d27854c96bfe7bd6c3afb46398bb93130.tar.gz
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 <andreas.rheinhardt@gmail.com> Fixes: 19629/clusterfuzz-testcase-minimized-ffmpeg_BSF_H264_METADATA_fuzzer-5676822528524288 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 66fac1ff7ccbc4fb6a3aa6b9a95de7b6bc31d14e) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavresample')
0 files changed, 0 insertions, 0 deletions