This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit 9a2d7b11bbc543b47bbc7f9dbab5eff3112df2c1 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Jun 21 17:49:12 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Jun 21 17:59:33 2026 +0200 avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation Fixes: use of uninitialized memory Backported to 4.4's monolithic hevcdec.c. (cherry picked from commit 7a21c37f75ef493bafed3e3fdfbd3cf48990439b) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/hevcdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 4ee6e62413..d70b99514e 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -510,10 +510,10 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps, int w = sps->width >> sps->hshift[c_idx]; int h = sps->height >> sps->vshift[c_idx]; s->sao_pixel_buffer_h[c_idx] = - av_malloc((w * 2 * sps->ctb_height) << + av_mallocz((w * 2 * sps->ctb_height) << sps->pixel_shift); s->sao_pixel_buffer_v[c_idx] = - av_malloc((h * 2 * sps->ctb_width) << + av_mallocz((h * 2 * sps->ctb_width) << sps->pixel_shift); if (!s->sao_pixel_buffer_h[c_idx] || !s->sao_pixel_buffer_v[c_idx]) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
