Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id A2247A567D for ; Thu, 6 Aug 2015 07:19:00 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 29B3A14A1F9; Thu, 6 Aug 2015 07:19:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 70A0A14A1F6 for ; Thu, 6 Aug 2015 07:18:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id wKMPjh1nkMVZ for ; Thu, 6 Aug 2015 07:18:58 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id E58B514A1F2 for ; Thu, 6 Aug 2015 07:18:58 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id D95C398; Thu, 6 Aug 2015 07:18:58 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 6 Aug 2015 07:18:58 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/x11/xcmsdb To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20150806071858.D95C398@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wiz Date: Thu Aug 6 07:18:58 UTC 2015 Modified Files: pkgsrc/x11/xcmsdb: Makefile distinfo Log Message: Update to 1.0.5: xcmsdb 1.0.5 _XcmsGetProperty: don't deal with uninitialized values, fail instead Import commit 502d414118c97d35a44f8e295709682022876331 from the master copy of this code in libX11. Only use results from GetWindowProperty if it returned Success Since Xlib prior to 1.6 didn't always clear values on failure, don't assume they're safe to use unless we succeeded. Reported by Oracle Parfait 1.5.1: Error: Uninitialised memory Uninitialised memory variable (CWE 457): Possible access to uninitialised memory variable 'ret_format' at line 743 of app/xcmsdb/xcmsdb.c in function 'RemoveSCCData'. ret_format allocated at line 733. at line 757 of app/xcmsdb/xcmsdb.c in function 'RemoveSCCData'. ret_format allocated at line 733. Uninitialised memory variable (CWE 457): Possible access to uninitialised memory variable 'ret_prop' at line 748 of app/xcmsdb/xcmsdb.c in function 'RemoveSCCData'. ret_prop allocated at line 731. at line 762 of app/xcmsdb/xcmsdb.c in function 'RemoveSCCData'. ret_prop allocated at line 731. Strip trailing whitespace from source files git ls-files | xargs gsed -i 's/[ \t]*$//' autogen.sh: Honor NOCONFIGURE=1 See http://people.gnome.org/~walters/docs/build-api.txt configure: Drop AM_MAINTAINER_MODE config: Add missing AC_CONFIG_SRCDIR Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Remove break statements immediately after return statements Silences clang -Wunreachable-code warnings Fix const char * warnings Add -version option to print program version Adds both -version and previously undocumented -help to man page Print which option was in error along with usage message Combine usage message strings To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/xcmsdb/Makefile \ pkgsrc/x11/xcmsdb/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.