Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/vvc: Add max parameter to kth_order_egk_decode

2025-07-28 Thread Frank Plowman
On 25/07/2025 06:48, Nuo Mi wrote: > On Sun, Jul 20, 2025 at 1:17 AM Frank Plowman wrote: > >> 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, >> requiri

Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/vvc: Add max parameter to kth_order_egk_decode

2025-07-24 Thread Nuo Mi
On Sun, Jul 20, 2025 at 1:17 AM Frank Plowman wrote: > 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

[FFmpeg-devel] [PATCH v3 2/2] lavc/vvc: Add max parameter to kth_order_egk_decode

2025-07-19 Thread Frank Plowman
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.