xconsole: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sun Apr 21 14:21:32 PDT 2013


 xconsole.c |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

New commits:
commit ba74b1a1dfa5d3411817e0c436b378945c410ec7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Apr 21 14:01:12 2013 -0700

    Use fstat() on the fd from open(), instead of stat() on the same pathname
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 73be08929d1d418370ae235e5261e64f72054cbf
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Apr 21 13:56:23 2013 -0700

    Fix file leak if fdopen() fails
    
    Reported by parfait 1.1:
       File Descriptor Leak: Leaked File Descriptor fd
            at line 313 of xconsole.c in function 'OpenConsole'.
              fd initialized at line 285 with open
              fd leaks when fd != -1 at line 287.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list