This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 84e568e72d5373b725945675394129bb0e0c43da Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Sep 18 00:11:15 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Fri Sep 18 14:11:48 2026 +0000 avformat/hlsenc: never split a segment on a subtitle packet Fixes: null pointer dereference Found during triage/review of the security report XoynvIRQMj1M --- libavformat/hlsenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 69b120bde0..1e49b63b2b 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2494,6 +2494,8 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt) ((pkt->flags & AV_PKT_FLAG_KEY) || (hls->flags & HLS_SPLIT_BY_TIME)); is_ref_pkt = (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) && (pkt->stream_index == vs->reference_stream_index); } + if (st->codecpar->codec_type == AVMEDIA_TYPE_SUBTITLE) + is_ref_pkt = can_split = 0; if (pkt->pts == AV_NOPTS_VALUE) is_ref_pkt = can_split = 0; -- 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]
