This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 60a81d1d05aab6369e4ab8fd2489abd0efe58a6f Author: Michael Niedermayer <[email protected]> AuthorDate: Thu Oct 29 00:00:03 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:32:24 2026 +0100 avcodec/bsf/aac_adtstoasc: check the bit reader initialization before the PCE Fixes: RG0je5bJzuAD Fixes: AISLE-2026-0150-00525 Fixes: NULL pointer dereference NULL pointer dereference Replicated through UnModified FFmpeg with ASAN and UBSAN Found-by: Joshua Rogers <[email protected]> (cherry picked from commit 3b1cbb5e0f66b85d15f1d3527436520b3f4711ec) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/bsf/aac_adtstoasc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/bsf/aac_adtstoasc.c b/libavcodec/bsf/aac_adtstoasc.c index dd6e8e8a38..9f8e61e422 100644 --- a/libavcodec/bsf/aac_adtstoasc.c +++ b/libavcodec/bsf/aac_adtstoasc.c @@ -79,7 +79,9 @@ static int aac_adtstoasc_filter(AVBSFContext *bsfc, AVPacket *pkt) if (!hdr.chan_config) { GetBitContext gb; - init_get_bits(&gb, pkt->data, pkt->size * 8); + ret = init_get_bits8(&gb, pkt->data, pkt->size); + if (ret < 0) + goto fail; if (get_bits(&gb, 3) != 5) { avpriv_report_missing_feature(bsfc, "PCE-based channel configuration " -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
