Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQJZQ-0007RR-QV for mharc-grub-devel@gnu.org; Tue, 05 Aug 2008 06:15:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQJZO-0007Po-5f for grub-devel@gnu.org; Tue, 05 Aug 2008 06:15:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQJZM-0007P2-21 for grub-devel@gnu.org; Tue, 05 Aug 2008 06:15:09 -0400 Received: from [199.232.76.173] (port=54370 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQJZL-0007Ot-N5 for grub-devel@gnu.org; Tue, 05 Aug 2008 06:15:07 -0400 Received: from smtp-vbr13.xs4all.nl ([194.109.24.33]:2924) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQJZL-0004tx-AR for grub-devel@gnu.org; Tue, 05 Aug 2008 06:15:07 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id m75AF5BJ064303 for ; Tue, 5 Aug 2008 12:15:06 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 05 Aug 2008 12:17:44 +0200 In-Reply-To: (bean123ch@gmail.com's message of "Sat, 2 Aug 2008 00:49:30 +0800") Message-ID: <87fxpjhik7.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: two bugs in configfile parser X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2008 10:15:11 -0000 Hi, Bean writes: > Ok, I've found the bug. In editor_getline (normal/menu_entry.c), it > should return a string allocated with grub_strdup, instead of the > original one, as the result will be release in the lexer once it's > done. The patch looks fine. You can commit it, if you didn't do this already. -- Marco