From f825917bde27ed15ccfa112603ac03d7b93d7ada Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 6 Aug 2015 07:21:26 +0000 Subject: 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. --- x11/proxymngr/Makefile | 5 ++--- x11/proxymngr/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'x11') diff --git a/x11/proxymngr/Makefile b/x11/proxymngr/Makefile index 17b33544724..3b613555551 100644 --- a/x11/proxymngr/Makefile +++ b/x11/proxymngr/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2015/07/02 12:38:32 rodent Exp $ -# +# $NetBSD: Makefile,v 1.2 2015/08/06 07:21:26 wiz Exp $ -DISTNAME= proxymngr-1.0.3 +DISTNAME= proxymngr-1.0.4 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XORG:=app/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/proxymngr/distinfo b/x11/proxymngr/distinfo index d99f1da1309..cede7cef869 100644 --- a/x11/proxymngr/distinfo +++ b/x11/proxymngr/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2015/07/02 12:38:32 rodent Exp $ +$NetBSD: distinfo,v 1.2 2015/08/06 07:21:26 wiz Exp $ -SHA1 (proxymngr-1.0.3.tar.bz2) = 50f517d017663faf45a99e46a032647060791ba0 -RMD160 (proxymngr-1.0.3.tar.bz2) = 658e2cb8ad2e7f052094e881abe9e5cc1f16b503 -Size (proxymngr-1.0.3.tar.bz2) = 125473 bytes +SHA1 (proxymngr-1.0.4.tar.bz2) = 78984a9e3ccbec423e4103d51dd88df9ef23f63c +RMD160 (proxymngr-1.0.4.tar.bz2) = c1490e136362b002e213047779f6ce3e49fb051c +Size (proxymngr-1.0.4.tar.bz2) = 131436 bytes -- cgit v1.2.3