This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 1c8e7f906e8650eb201398bd9ba630361a21d7d2 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 14 03:24:11 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sat Sep 19 14:27:15 2026 +0200 avcodec/hap: do not hide the failure of the chunk table allocation Fixes: XEbMheG4aNCP Fixes: NULL pointer dereference Found-by: Zheng Yu @ Depthfirst (cherry picked from commit f8c4c6400e835bf65e8b9cc12aba9e5c4d1c818c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/hap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hap.c b/libavcodec/hap.c index ac4032ce11..26b071da68 100644 --- a/libavcodec/hap.c +++ b/libavcodec/hap.c @@ -30,7 +30,7 @@ int ff_hap_set_chunk_count(HapContext *ctx, int count, int first_in_frame) { int ret = 0; if (first_in_frame == 1 && ctx->chunk_count != count) { - int ret = av_reallocp_array(&ctx->chunks, count, sizeof(HapChunk)); + ret = av_reallocp_array(&ctx->chunks, count, sizeof(HapChunk)); if (ret == 0) ret = av_reallocp_array(&ctx->chunk_results, count, sizeof(int)); if (ret < 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]
