[FFmpeg-devel] [PATCH] ffmpeg: check tcgetattr result.

Michael Niedermayer michaelni at gmx.at
Tue Jan 17 18:08:56 CET 2012


On Tue, Jan 17, 2012 at 07:58:02AM +0100, Reimar Döffinger wrote:
> This fixes parallel FATE (make fate -j4) failing under valgrind with:
>  Syscall param ioctl(TCSET{S,SW,SF}) points to uninitialised byte(s)
>     at 0x5D98B23: tcsetattr (tcsetattr.c:88)
>     by 0x43D66C: term_init (ffmpeg.c:734)
>     by 0x43CD8D: main (ffmpeg.c:5071)
>   Address 0x7fefffdd0 is on thread 1's stack
>   Uninitialised value was created by a stack allocation
>     at 0x43D5B0: term_init (ffmpeg.c:716)
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

LGTM, thanks

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

Avoid a single point of failure, be that a person or equipment.
-------------- 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/20120117/a650aca7/attachment.asc>


More information about the ffmpeg-devel mailing list