From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7446: Emacs 23.2 [windows] - Buffer overrun bug with ebrowse.exe Date: Sat, 27 Nov 2010 11:32:03 +0200 Message-ID: <83tyj35cz0.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1290851118 19986 80.91.229.12 (27 Nov 2010 09:45:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Nov 2010 09:45:18 +0000 (UTC) Cc: 7446-done@debbugs.gnu.org To: Joe Matarazzo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 27 10:45:11 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PMHLC-00011n-P2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Nov 2010 10:45:10 +0100 Original-Received: from localhost ([127.0.0.1]:35677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMHLC-0006Dg-8P for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Nov 2010 04:45:10 -0500 Original-Received: from [140.186.70.92] (port=56165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMHKx-0006CI-RB for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 04:45:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMHKs-0000VP-Qv for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 04:44:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMHKs-0000VI-PB for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 04:44:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PMH2g-0000lT-Pg for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 04:26:02 -0500 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Nov 2010 09:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 7446@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 7446-done@debbugs.gnu.org id=D7446.12908499152876 (code D ref 7446); Sat, 27 Nov 2010 09:26:02 +0000 Original-Received: (at 7446-done) by debbugs.gnu.org; 27 Nov 2010 09:25:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMH1u-0000kL-92 for submit@debbugs.gnu.org; Sat, 27 Nov 2010 04:25:14 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMH1s-0000k5-8j for 7446-done@debbugs.gnu.org; Sat, 27 Nov 2010 04:25:12 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LCJ00H00DGH6500@a-mtaout20.012.net.il> for 7446-done@debbugs.gnu.org; Sat, 27 Nov 2010 11:29:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.63.39]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LCJ00HLGEDU9500@a-mtaout20.012.net.il>; Sat, 27 Nov 2010 11:29:55 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 27 Nov 2010 04:26:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41919 Archived-At: > Date: Fri, 19 Nov 2010 16:39:49 -0800 > From: Joe Matarazzo > Cc: > > When the input file ends with a C++ style "//" comment line, without a > newline at the end, the parser will attempt to read past the end of > the input buffer. This produces undefined results, among them putting > the parser in a bogus state that makes all subsequent input files > parse incorrectly. Here's a possible fix: Thanks, I applied this patch to the Emacs 23 branch.