pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/libICE Update to 1.0.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c978c573239
branches:  trunk
changeset: 537770:1c978c573239
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 15 22:59:16 2008 +0000

description:
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

diffstat:

 x11/libICE/Makefile |  4 ++--
 x11/libICE/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 4f6a3e20eda7 -r 1c978c573239 x11/libICE/Makefile
--- a/x11/libICE/Makefile       Tue Jan 15 22:58:55 2008 +0000
+++ b/x11/libICE/Makefile       Tue Jan 15 22:59:16 2008 +0000
@@ -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
diff -r 4f6a3e20eda7 -r 1c978c573239 x11/libICE/distinfo
--- a/x11/libICE/distinfo       Tue Jan 15 22:58:55 2008 +0000
+++ b/x11/libICE/distinfo       Tue Jan 15 22:59:16 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index