Update to 1.0.4:

Version bump: 1.0.4
    Add $(AM_CFLAGS) to lint flags to get correct Xtrans flags
    Replace many malloc(strlen()); strcpy() pairs with strdup()
    Provide ANSI C prototypes for more static functions
    Convert authutil.c static helpers to ANSI C prototypes to clear
    sparse warnings
    Add hooks for checking source code with lint/sparse/etc.

    Coverity #1086: Double free of pointer "*listenObjsRet"

    Same bug, different function.

    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.

    Add *~ to .gitignore to skip emacs/patch droppings
This commit is contained in:
wiz 2008-01-15 22:59:16 +00:00
parent fecffea32e
commit c232d59ec7
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.3 2007/11/07 11:51:52 abs Exp $
# $NetBSD: Makefile,v 1.4 2008/01/15 22:59:16 wiz Exp $
#
DISTNAME= libICE-1.0.3
DISTNAME= libICE-1.0.4
CATEGORIES= x11 devel
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
EXTRACT_SUFX= .tar.bz2

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2007/01/22 14:47:30 joerg Exp $
$NetBSD: distinfo,v 1.3 2008/01/15 22:59:17 wiz Exp $
SHA1 (libICE-1.0.3.tar.bz2) = be6ca5cc02bd8cd216217a5315a2c9ab9af82fb4
RMD160 (libICE-1.0.3.tar.bz2) = fc102b6c4c462b81ea45a30c7ab73b84562aa623
Size (libICE-1.0.3.tar.bz2) = 246976 bytes
SHA1 (libICE-1.0.4.tar.bz2) = 67bc7d35a273023a593c10ce05fd307f496892b4
RMD160 (libICE-1.0.4.tar.bz2) = cb83eafe547a04586877ffffa8d07e1dc9fcd613
Size (libICE-1.0.4.tar.bz2) = 252304 bytes