This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit 0ef360064353e5b834fb35285c1d9d1775655787 Author: James Almer <[email protected]> AuthorDate: Sun Feb 22 23:15:47 2026 -0300 Commit: James Almer <[email protected]> CommitDate: Thu Mar 5 23:16:17 2026 -0300 avformat/mov: free item_name on infe entry parsing failure Fixes regression since 28c330d0f3f3. Signed-off-by: James Almer <[email protected]> (cherry picked from commit 40e04631133402701a9365e11f152ed7b8c57a61) --- libavformat/mov.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index e39ddce99f..54fe8515d8 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -8973,8 +8973,10 @@ static int mov_read_infe(MOVContext *c, AVIOContext *pb, MOVAtom atom) av_bprint_finalize(&item_name, NULL); return AVERROR(ENOMEM); } - if (i == c->nb_heif_item) + if (i == c->nb_heif_item) { + av_bprint_finalize(&item_name, NULL); return AVERROR_INVALIDDATA; + } av_freep(&item->name); av_bprint_finalize(&item_name, ret ? &item->name : NULL); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
