I just pulled a report on new warnings reported by /analyze in Chromium and
I saw this one in ffmpeg that looks real:

third_party\ffmpeg\libavcodec\utils.c(2822) : warning C6001: Using
uninitialized memory 'got_frame'.

There is an error path - ret gets set to AVERROR(EINVAL) but then execution
continues, including a likely read from got_frame before the function
exits. I'm not sure if anything really bad can happen, but uninitialized
reads are undefined behavior.

FWIW

-- 
Bruce Dawson
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to