pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/libICE



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jan 15 22:59:17 UTC 2008

Modified Files:
        pkgsrc/x11/libICE: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/x11/libICE/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/x11/libICE/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index