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 25f601cc347071d3c95638b0144b435535fb8952 Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Nov 11 18:40:21 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 04:36:59 2026 +0100 avformat/mpegts: free a PESContext with its filter unless the stream owns it Fixes: double free Fixes: fHugfEQx8Ec0 Fixes: ffmpeg-n902-pmt-move-retype-20261027.ts Double free Replicated through UnModified FFmpeg with ASAN Found-by: Min Kang (cherry picked from commit 61362812fd2ad9c76a96334c89ff99d1d35f58df) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/mpegts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 8c7df85173..e8997d2a17 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -600,7 +600,7 @@ static void mpegts_close_filter(MpegTSContext *ts, MpegTSFilter *filter) av_buffer_unref(&pes->buffer); /* referenced private data will be freed later in * avformat_close_input (pes->st->priv_data == pes) */ - if (!pes->st || pes->merged_st || !pes->st->priv_data) { + if (!pes->st || pes->st->priv_data != pes) { av_freep(&filter->u.pes_filter.opaque); } } -- 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]
