xfs: Changes to 'master'

James Cloos cloos at kemper.freedesktop.org
Sat Jun 26 14:49:48 PDT 2010


 os/connection.c |    5 +++--
 os/io.c         |    5 +++--
 os/waitfor.c    |    6 ++++--
 3 files changed, 10 insertions(+), 6 deletions(-)

New commits:
commit 31917b20fe3d83ca51c460fdd66a7d61f2670db3
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Sat Jun 26 17:43:06 2010 -0400

    Fix segfaults in xfs
    
    This addresses possible remaining segfaults which can occur randomly
    in xfs, mostly a follow up on bug 22084.
    
    1. Make sure ListenTransCount is reset to 0 when ListenTransConns is
       freed to avoid a segfault in CloseSockets() when a “drone server”
       terminates.
    
    2. ffs() is still used in various places on fd_mask whereas the
       fd_mask can be greater than an int.
    
    3. replace (i << 5) with (i * (sizeof(fd_mask) * 8) to be more
       64bit safe
    
    Cf: https://bugs.freedesktop.org/show_bug.cgi?id=28691
    
    Signed-off-by: James Cloos <cloos at jhcloos.com>



More information about the xorg-commit mailing list