This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/5.1 in repository ffmpeg.
commit 9428c39d51735fffb64f601d026c57cf9861c6f8 Author: Michael Niedermayer <[email protected]> AuthorDate: Sat May 2 12:57:48 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 16:03:29 2026 +0200 libavformat/xwma: fix overflow in seek position Fixes: signed integer overflow Found-by: Marius Momeu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 2d4ec463459cdf993b454ede0dabcbc581d0a90e) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/xwma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/xwma.c b/libavformat/xwma.c index b830f9ed75..4cc3556959 100644 --- a/libavformat/xwma.c +++ b/libavformat/xwma.c @@ -267,7 +267,7 @@ static int xwma_read_header(AVFormatContext *s) * an offset / timestamp pair. */ av_add_index_entry(st, - cur_pos + (i+1) * st->codecpar->block_align, /* pos */ + cur_pos + (i+1LL) * st->codecpar->block_align, /* pos */ dpds_table[i] / bytes_per_sample, /* timestamp */ st->codecpar->block_align, /* size */ 0, /* duration */ _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
