mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-02 03:06:28 +02:00
01701bdcd5
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> |
||
---|---|---|
.. | ||
cabac.c | ||
cabac.h | ||
ctu.c | ||
ctu.h | ||
data.c | ||
data.h | ||
dec.c | ||
dec.h | ||
dsp_template.c | ||
dsp.c | ||
dsp.h | ||
filter_template.c | ||
filter.c | ||
filter.h | ||
inter_template.c | ||
inter.c | ||
inter.h | ||
intra_template.c | ||
intra_utils.c | ||
intra.c | ||
intra.h | ||
itx_1d.c | ||
itx_1d.h | ||
Makefile | ||
mvs.c | ||
mvs.h | ||
ps.c | ||
ps.h | ||
refs.c | ||
refs.h | ||
thread.c | ||
thread.h |