On 5/30/2023 6:21 PM, Paul Arzelier wrote:
From: Polochon-street <polochonstr...@gmx.fr>
Check init_get_bits' result for NULL, to avoid dereferencing a NULL
pointer later (CWE-476).
Without this, a segfault happens when trying to decode a handcrafted
ogg-flac file with an absurdly long (e.g. 268435455 bytes) ogg header.
Thanks to jamrial for basically writing this patch after I reported the bug!
Signed-off-by: Paul Arzelier <paul.arzel...@free.fr>
Applied.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".