aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tls_openssl.c
diff options
context:
space:
mode:
authorFrank Plowman <post@frankplowman.com>2025-07-19 18:16:25 +0100
committerFrank Plowman <post@frankplowman.com>2025-07-28 20:46:10 +0100
commit7c5319e6924fd82772eff890df191f973767d38e (patch)
tree35e15a37b436020b8d6d21c754bbb5284bfbedde /libavformat/tls_openssl.c
parentce172bc362f09a12dc422283d81313bde4920f51 (diff)
downloadffmpeg-7c5319e6924fd82772eff890df191f973767d38e.tar.gz
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 eb52251c0ab025b6b40b28994bc9dc616813b190, 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>
Diffstat (limited to 'libavformat/tls_openssl.c')
0 files changed, 0 insertions, 0 deletions