[FFmpeg-devel] [PATCH] Fix ff_get_guid for short reads or errors.

Michael Niedermayer michaelni at gmx.at
Sun Jan 15 20:19:16 CET 2012


On Sun, Jan 15, 2012 at 05:00:29PM +0100, Reimar Döffinger wrote:
> Current code would just return uninitialized data with no way
> to detect this condition.
> Instead, fill the whole GUID with 0 in that case.
> Fixes valgrind uninitialized data errors in fate-seek-lavf_asf.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

LGTM, thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120115/9dabb885/attachment.asc>


More information about the ffmpeg-devel mailing list