Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQJry-00031D-Sy for mharc-grub-devel@gnu.org; Tue, 05 Aug 2008 06:34:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQJrv-000300-NK for grub-devel@gnu.org; Tue, 05 Aug 2008 06:34:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQJrs-0002z7-TG for grub-devel@gnu.org; Tue, 05 Aug 2008 06:34:18 -0400 Received: from [199.232.76.173] (port=48380 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQJrs-0002yr-3U for grub-devel@gnu.org; Tue, 05 Aug 2008 06:34:16 -0400 Received: from ti-out-0910.google.com ([209.85.142.191]:63687) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQJrr-0007lw-BV for grub-devel@gnu.org; Tue, 05 Aug 2008 06:34:15 -0400 Received: by ti-out-0910.google.com with SMTP id u5so677868tia.10 for ; Tue, 05 Aug 2008 03:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yX8MEcZD9PI3Xb2/QtmRGFrfWwropglcU44IahUvWko=; b=R4j9hoDmTGamUqYYzYp8PRwsSQec5L+S8YwzESrxGVhfomqzchFuOB4+EqcGeyuSKe ZOXRy6CmVcfZVezm+pUvKqV/8TZB4j0s4zjuaERjrEIbcs5sVZuCd4xXCcWbG8yjZyLJ hkOEMHpO93kJivhnv9FE8mTHhifaqPR2cKMY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RP3a0drBPKSqWbIibr2xngfk1SgfL2pqyXQuyzrEsPUBkk83Ad6BJ5Xbm0Gchi/XiU zWTHmB6oKFrTq8iNAbZd8nr1anaRYLussdXhh3INYlChNEHGM4zZybe2tR/1nHUfQW35 xVr3Z59tUprmq3hsDOhppyhjGcse4jnS3VIHg= Received: by 10.110.10.16 with SMTP id 16mr778960tij.15.1217932453277; Tue, 05 Aug 2008 03:34:13 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Tue, 5 Aug 2008 03:34:13 -0700 (PDT) Message-ID: Date: Tue, 5 Aug 2008 18:34:13 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <87fxpjhik7.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87fxpjhik7.fsf@xs4all.nl> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:34:21 -0000 On Tue, Aug 5, 2008 at 6:17 PM, Marco Gerards wrote: > 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. Oh, I have committed it. -- Bean