This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8548a40fc9d17c5caca869c014d2d45e55c5ea22 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Oct 12 02:01:35 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Oct 20 02:25:09 2026 +0000 avutil/opt: do not store an image size that failed to parse Fixes: use of uninitialized memory Fixes: yEDlrREdlez4 Regression since: bd68a61304 Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24757 Use of uninitialized memory Replicated through UnModified FFmpeg with Valgrind --- libavutil/opt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 03fca6ad15..041ad30280 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -534,8 +534,10 @@ static int set_string_image_size(void *obj, const AVOption *o, const char *val, return 0; } ret = av_parse_video_size(&tmp[0], &tmp[1], val); - if (ret < 0) + if (ret < 0) { av_log(logctx, AV_LOG_ERROR, "Unable to parse \"%s\" option value \"%s\" as image size\n", o->name, val); + return ret; + } if (dst) memcpy(dst, tmp, sizeof(tmp)); return ret; -- 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]
