diff options
author | Frank Plowman <post@frankplowman.com> | 2024-08-23 12:44:08 +0100 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-08-31 15:05:23 +0800 |
commit | 01701bdcd536d59ec9e21d9a0bb70e74dd760167 (patch) | |
tree | 54e8b595e2a1275b08fec11f895bc3bffef3c2ba /doc/filter_design.txt | |
parent | b2eabe0ff2c9c628eeeb2adcacd52c3e23e04fcf (diff) | |
download | ffmpeg-01701bdcd536d59ec9e21d9a0bb70e74dd760167.tar.gz |
lavc/vvc: Prevent OOB access in subpic_tiles
The previous logic relied on the subpicture boundaries coinciding with
the tile boundaries. Per 6.3.1 of H.266 (V3), vertical subpicture
boundaries are always tile boundaries however the same cannot be said
for horizontal subpicture boundaries. Furthermore, it is possible to
construct an illegal bitstream where vertical subpicture boundaries are
not coincident with tile boundaries. In these cases, the condition of
the while loop would never be satisfied resulting in an OOB read on
col_bd/row_bd.
Patch fixes this issue by replacing != with <, thereby not requiring
subpicture boundaries and tile boundaries to be coincident.
Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'doc/filter_design.txt')
0 files changed, 0 insertions, 0 deletions