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 c7e8a62af4170bd14488f9d4a5d5835ac777eb80 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Oct 26 01:12:01 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:29:20 2026 +0100 avformat/mov: fix leak of the gain map parameters when the tmap payload allocation fails The payload size is the item's extent length from the file, so the allocation can fail for a crafted file. Leak Replicated through UnModified FFmpeg with LSAN Found by a grok bot based audit of the code. (cherry picked from commit 4b1149c8eb219bfbbbfd8e0cf960a208ffcf3447) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index e2f33643f7..a277e7cfc3 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -11656,7 +11656,7 @@ static int mov_parse_heif_layered_video_tmap(AVFormatContext *s, const HEIFGroup payload = av_malloc(tmap->item->extent_length); if (!payload) { - return AVERROR(ENOMEM); + err = AVERROR(ENOMEM); goto fail; } -- 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]
