This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8d8616a51000186400b9bbe9d952d94bc587507b Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Oct 6 07:33:43 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun Oct 11 01:31:37 2026 +0000 avformat/rtpdec_opus: Reject empty payloads RFC 7587 4.2 and RFC 6716 [R1]: a payload holds one Opus packet of at least 1 byte The check is the one recommended in the report. Fixes: use of uninitialized memory Fixes: eytzTgq45tAh Fixes: AISLE-2026-0111-00215 Use of uninitialized memory Replicated through UnModified FFmpeg with MSAN Found-by: Joshua Rogers <[email protected]> --- libavformat/rtpdec_opus.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/rtpdec_opus.c b/libavformat/rtpdec_opus.c index 4ed9d8842b..1eeef3c4b6 100644 --- a/libavformat/rtpdec_opus.c +++ b/libavformat/rtpdec_opus.c @@ -96,6 +96,9 @@ static int opus_parse_packet(AVFormatContext *ctx, PayloadContext *data, int rv; int duration; + if (!len) + return AVERROR_INVALIDDATA; + if ((rv = av_new_packet(pkt, len)) < 0) return rv; -- 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]
