From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.bugs Subject: bug#10592: Bug#655118: Please enabled hardened build flags Date: Mon, 23 Jan 2012 23:05:26 -0600 Message-ID: <87pqe98zc9.fsf@trouble.defaultvalue.org> References: <20120108171359.6340.17517.reportbug@pisco.westfalen.local> <20120108180151.GA919@pisco.westfalen.local> <87wr8h8zhu.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1327381556 3229 80.91.229.12 (24 Jan 2012 05:05:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 05:05:56 +0000 (UTC) Cc: 655118@bugs.debian.org, 655118-forwarded@bugs.debian.org, Moritz =?UTF-8?Q?M=C3=BChlenhoff?= To: 10592@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 24 06:05:51 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpYZr-00019A-7L for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2012 06:05:51 +0100 Original-Received: from localhost ([::1]:45813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpYZq-0006gq-KV for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2012 00:05:50 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpYZn-0006gZ-MY for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:05:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpYZm-0006JE-Fm for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:05:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpYZm-0006JA-Cn for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:05:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RpYa3-00044P-TS for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:06:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Rob Browning Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jan 2012 05:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132738156015633 (code B ref -1); Tue, 24 Jan 2012 05:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jan 2012 05:06:00 +0000 Original-Received: from localhost ([127.0.0.1]:41206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpYa0-000445-0D for submit@debbugs.gnu.org; Tue, 24 Jan 2012 00:06:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44019) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpYZw-00043r-O2 for submit@debbugs.gnu.org; Tue, 24 Jan 2012 00:05:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpYZY-0006Ip-46 for submit@debbugs.gnu.org; Tue, 24 Jan 2012 00:05:33 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:36508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpYZY-0006Ih-1h for submit@debbugs.gnu.org; Tue, 24 Jan 2012 00:05:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpYZW-0006gO-Pj for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:05:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpYZU-0006IC-4d for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:05:30 -0500 Original-Received: from defaultvalue.org ([70.85.129.156]:54988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpYZT-0006I1-Sx for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 00:05:28 -0500 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id 8EBBA90D42; Mon, 23 Jan 2012 23:05:42 -0600 (CST) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 6A0A814E034; Mon, 23 Jan 2012 23:05:26 -0600 (CST) In-Reply-To: <87wr8h8zhu.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Mon, 23 Jan 2012 23:02:05 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55944 Archived-At: (Sorry, accidentally hit send too early.) Mortiz updated Emacs to support -Wformat -Wformat-security -Werror=format-security. Here are the relevant changes (further details are available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655118): diff -aur emacs23-23.3+1.orig/lib-src/movemail.c emacs23-23.3+1/lib-src/movemail.c --- emacs23-23.3+1.orig/lib-src/movemail.c 2011-12-29 05:07:27.000000000 +0100 +++ emacs23-23.3+1/lib-src/movemail.c 2012-01-08 17:31:22.000000000 +0100 @@ -615,11 +615,11 @@ { fprintf (stderr, "movemail: "); if (s3) - fprintf (stderr, s1, s2, s3); + fprintf (stderr, "%s%s%s", s1, s2, s3); else if (s2) - fprintf (stderr, s1, s2); + fprintf (stderr, "%s%s", s1, s2); else - fprintf (stderr, s1); + fprintf (stderr, "%s", s1); fprintf (stderr, "\n"); } Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4