Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #271316

Category ffmpeg
Changed by Zhao Zhili <zhilizhaoohnoyoudont@tencent.com>
Changed at Tue 16 Jun 2026 14:41:53
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision 7338d08bcf11b06045b678a66316f42da3d2de80

Comments

avutil: zero size output parameter on allocation failure
Several _alloc() functions taking a size_t *size output parameter
either left it uninitialized or unconditionally set it to sizeof(...)
when the underlying av_mallocz() failed. Callers that check the
returned pointer first are unaffected, but the stale value is a trap
for any code path that inspects size without a NULL check.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>

Changed files