diff options
author | Frank Plowman <post@frankplowman.com> | 2024-06-25 18:02:02 +0100 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-06-27 20:38:34 +0800 |
commit | d79c926ab6282f225de8d1a39a5234ebc4d38451 (patch) | |
tree | 11c8f6c1c358fd3644abf0342b0d0ee85b44569e /libavcodec/mips/vp8dsp_mmi.c | |
parent | c917c423e07075862311f930786c924290f84430 (diff) | |
download | ffmpeg-d79c926ab6282f225de8d1a39a5234ebc4d38451.tar.gz |
lavc/vvc: Validate IBC block vector
From H.266 (V3) (09/2023) p. 321:
It is a requirement of bitstream conformance that the luma block
vector bvL shall obey the following constraints:
- CtbSizeY is greater than or equal to
((yCb + (bvL[ 1 ] >> 4)) & (CtbSizeY − 1)) + cbHeight
This patch checks this is true, which fixes crashes on fuzzed
bitstreams.
Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'libavcodec/mips/vp8dsp_mmi.c')
0 files changed, 0 insertions, 0 deletions