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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jan 17 20:21:27 CET 2012


On Tue, Jan 17, 2012 at 06:08:56PM +0100, Michael Niedermayer wrote:
> 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

Pushed.


More information about the ffmpeg-devel mailing list