From owner-freebsd-ports-bugs@freebsd.org Tue Jul 12 09:59:58 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B99A0B90F15 for ; Tue, 12 Jul 2016 09:59:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E50C15D7 for ; Tue, 12 Jul 2016 09:59:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6C9xw3p031563 for ; Tue, 12 Jul 2016 09:59:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210798] devel/gdb: Uninitialized variables found presenting possible security issues or bugs Date: Tue, 12 Jul 2016 09:59:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 09:59:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210798 --- Comment #8 from Mark Millard --- (In reply to luca.pizzamiglio from comment #6) Beyond the amd64 test info I listed in comment 5: building on/for armv6 (wi= th -mcpu=3Dcortex-a7 in use) reports things suggesting some 32-bit vs. 64-bit = issues may exist when int/long are 32-bit but long long is 64: labs use that may truncate values. [powerpc (non-64) likely would get the same.] There are a couple of other types of differences as well. [I tried to eliminate the escape sequences form the messages listed below.] inflate.c:1507:61: warning: shifting a negative signed value is undefined [-Wshift-negative-value] checking stddef.h usability... ./simple-object-xcoff.c:330:12: warning: usi= ng extended field designator is an extension [-Wextended-offsetof] ./simple-object-xcoff.c:332:39: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:335:29: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:342:12: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:344:39: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:347:29: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:475:32: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:477:30: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:482:32: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:484:30: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:598:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:600:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:603:21: warning: using extended field designator is= an extension [-Wextended-offsetof ./simple-object-xcoff.c:608:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:610:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:613:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:663:21: warning: using extended field designator is= an extension [-Wextended-offsetof ./simple-object-xcoff.c:665:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:670:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:672:21: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:683:19: warning: using extended field designator is= an extension [-Wextended-offsetof] ./simple-object-xcoff.c:685:19: warning: using extended field designator is= an extension [-Wextended-offsetof] elf32-arm.c:10901:31: warning: absolute value function 'labs' given an argu= ment of type 'bfd_signed_vma' (aka 'long long') but has parameter of type 'long' elf32-arm.c:10986:31: warning: absolute value function 'labs' given an argu= ment of type 'bfd_signed_vma' (aka 'long long') but has parameter of type 'long' elf32-arm.c:11073:30: warning: absolute value function 'labs' given an argu= ment of type 'bfd_signed_vma' (aka 'long long') but has parameter of type 'long' checking whether wcsspn is declared without a macro... rl78-dis.c:232:44: warning: use of logical '||' with constant operand [-Wconstant-logical-oper= and] microblaze-tdep.c:94:28: warning: format string is not a string literal [-Wformat-nonliteral] msp430-tdep.c:401:24: warning: comparison of constant 16 with expression of type 'MSP430_Size' is always false [-Wtautological-constant-out-of-range-compare] score-tdep.c:819:12: warning: comparison of unsigned expression < 0 is alwa= ys false [-Wtautological-compare] sh64-tdep.c:977:42: warning: comparison of unsigned expression >=3D 0 is al= ways true [-Wtautological-compare] v850-tdep.c:562:35: warning: comparison of unsigned expression >=3D 0 is al= ways true [-Wtautological-compare] v850-tdep.c:562:66: warning: comparison of unsigned expression >=3D 0 is al= ways true [-Wtautological-compare] remote-mips.c:500:37: warning: format string is not a string literal [-Wformat-nonliteral] xcoffread.c:1027:41: warning: variable 'main_aux' is uninitialized when used here [-Wuninitialized] ./tui/tui-stack.c:419:16: warning: expression which evaluates to zero treat= ed as a null pointer constant of type 'CORE_ADDR * ' (aka 'unsigned long long = *') dtrace-probe.c:424:52: warning: while loop has empty body [-Wempty-body] main.c:229:56: warning: adding 'int' to a string does not append to the str= ing [-Wstring-plus-int] ada-lang.c:2489:50: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ada-lang.c:2503:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] --=20 You are receiving this mail because: You are the assignee for the bug.=