FFmpeg/libavcodec/vvc
Frank Plowman 7c5319e692
lavc/vvc: Add max parameter to kth_order_egk_decode
Prior to this patch, kth_order_egk_decode could read arbitrarily
large values which then overflowed and caused various issues.
Patch fixes this by making kth_order_egk_decode falliable,
requiring the caller to specify an upper bound and returning an
error if the read value would exceed that bound.

This patch resolves the same issue as
eb52251c0a, but I think this is the proper
fix as it also addresses issues with syntax elements besides
ff_vvc_num_signalled_palette_entries.

Signed-off-by: Frank Plowman <post@frankplowman.com>
2025-07-28 20:46:10 +01:00
..
cabac.c lavc/vvc: Add max parameter to kth_order_egk_decode 2025-07-28 20:46:10 +01:00
cabac.h lavc/vvc: Add max parameter to kth_order_egk_decode 2025-07-28 20:46:10 +01:00
ctu.c lavc/vvc: Add max parameter to kth_order_egk_decode 2025-07-28 20:46:10 +01:00
ctu.h
data.c
data.h
dec.c avcodec/vvc/dec: Don't use GetBit-API when byte-aligned 2025-07-11 15:13:21 +02:00
dec.h
dsp.c
dsp.h
dsp_template.c
filter.c
filter.h
filter_template.c
inter.c
inter.h
inter_template.c
intra.c lavc/vvc: Fix condition for using default scaling factor 2025-06-27 06:06:14 +09:00
intra.h
intra_template.c
intra_utils.c
itx_1d.c
itx_1d.h
Makefile
mvs.c
mvs.h
ps.c
ps.h
refs.c avcodec/vvc/refs: remove early return 2025-06-28 15:16:45 +02:00
refs.h
sei.c avcodec/vvc: parse all SEI messages 2025-06-12 21:17:07 +08:00
sei.h avcodec/vvc/sei: add decode_frame_field_info 2025-05-31 09:35:54 +08:00
thread.c
thread.h