pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/proxymngr



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Aug  6 07:21:26 UTC 2015

Modified Files:
        pkgsrc/x11/proxymngr: Makefile distinfo

Log Message:
Update to 1.0.4:

    proxymngr 1.0.4

    Stop checking if pointers are NULL before passing them to free()

    Stop casting results of malloc calls

    Replace last strcpy call + manual append with snprintf call

    Replace malloc(strlen)+strcpy sets with strdup calls

    Ensure memory is initialized before use in PushRequestorQueue
    If authLen <= 0, then we weren't initializing the authName & authData
    pointers until after checking if all the allocations succeeded, but
    if any allocations failed, we'd then try to free them before that.

    Error: Uninitialised memory (CWE 456)
       Possible access to uninitialised memory '&newreq->authData'
            at line 590 of pmdb.c in function 'PushRequestorQueue'.
              &newreq->authData allocated at line 559.
              &newreq->authData uninitialised when authLen <= 0 at line 568.
            at line 591 of pmdb.c in function 'PushRequestorQueue'.
              &newreq->authData allocated at line 559.
              &newreq->authData uninitialised when authLen <= 0 at line 568
                  and newreq->authName == NULL at line 574.
       Possible access to uninitialised memory '&newreq->authName'
            at line 588 of pmdb.c in function 'PushRequestorQueue'.
              &newreq->authName allocated at line 559.
              &newreq->authName uninitialised when authLen <= 0 at line 568.
            at line 589 of pmdb.c in function 'PushRequestorQueue'.
              &newreq->authName allocated at line 559.
              &newreq->authName uninitialised when authLen <= 0 at line 568
                  and newreq->authName != NULL at line 574.

    [ This bug was found by the Parfait 1.5.1 bug checking tool.
      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]

    autogen.sh: Honor NOCONFIGURE=1
    See http://people.gnome.org/~walters/docs/build-api.txt

    configure: Drop AM_MAINTAINER_MODE

    This is not a GNU project, so declare it foreign.

    Assume signal handlers return void, as C89 requires
    Drops use of Imake's obsolete SIGNALRETURNSINT.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/proxymngr/Makefile \
    pkgsrc/x11/proxymngr/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