[FFmpeg-devel] [PATCH v3 2/2] lavc/vvc: Add max parameter to kth_order_egk_decode
Frank Plowman
post at frankplowman.com
Mon Jul 28 22:57:33 EEST 2025
On 25/07/2025 06:48, Nuo Mi wrote:
> On Sun, Jul 20, 2025 at 1:17 AM Frank Plowman <post at frankplowman.com> 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 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.
>>
> +1, thank you, frank
>
Pushed, thank you for your review!
--
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x03A84C6A098F2C6B.asc
Type: application/pgp-keys
Size: 1071 bytes
Desc: OpenPGP public key
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250728/3231e928/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250728/3231e928/attachment.sig>
More information about the ffmpeg-devel
mailing list