libICE: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Fri Apr 6 03:03:04 EEST 2007


 .gitignore      |    1 +
 Makefile.am     |    5 +++++
 configure.ac    |    5 +++++
 src/Makefile.am |    8 ++++++++
 src/accept.c    |    5 +----
 src/authutil.c  |   51 +++++++++++++--------------------------------------
 src/connect.c   |   13 ++++---------
 src/getauth.c   |   11 ++++-------
 src/iceauth.c   |   33 ++++++++++++---------------------
 src/listen.c    |   11 +++--------
 src/listenwk.c  |    2 ++
 src/misc.c      |   22 +++-------------------
 src/process.c   |   26 +++++++++++---------------
 src/register.c  |   30 ++++++++----------------------
 src/setauth.c   |   18 ++++++------------
 15 files changed, 86 insertions(+), 155 deletions(-)

New commits:
commit cd900e40b5676874d076c35466fd7baa6a49b1f6
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 15:05:52 2007 -0700

    Replace many malloc(strlen()); strcpy() pairs with strdup()

commit 27f9a9324d58c9a7472c724c62f5b7ea0e1f4681
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 14:43:05 2007 -0700

    Provide ANSI C prototypes for more static functions

commit bb639803a779ceace05d183b653da88f010ab29c
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 14:32:31 2007 -0700

    Convert authutil.c static helpers to ANSI C prototypes to clear sparse warnings

commit 2179b2d467d69e45559b8e4f161a904a21f05321
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 14:28:06 2007 -0700

    Add hooks for checking source code with lint/sparse/etc.

commit 6b361c028b5ad931b61df86fae570f3ef9f41c15
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 14:19:56 2007 -0700

    Coverity #1086: Double free of pointer "*listenObjsRet"
    
    Same bug, different function.

commit c9b3d016681d81aff32c74cdad75151bd538e6ab
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 14:07:42 2007 -0700

    Coverity #1085: Double free of pointer "*listenObjsRet"
    
    If malloc failed in the loop in IceListenForConnections, the error path
    would free all previous allocations, then loop around and try again, and
    if it failed again, free the previous allocations again.   On the other
    hand, if it succeeded on the later tries, then the memory would just be
    leaked, since the error would be returned and not the pointer to them.

commit 6039e865470af23948b0fe7d5dc0ea72da436b0e
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Apr 5 14:04:01 2007 -0700

    Add *~ to .gitignore to skip emacs/patch droppings




More information about the xorg-commit mailing list