Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQNNo-0002Dv-2W for mharc-grub-devel@gnu.org; Tue, 05 Aug 2008 10:19:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQNNk-00028q-Vh for grub-devel@gnu.org; Tue, 05 Aug 2008 10:19:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQNNj-00025N-CL for grub-devel@gnu.org; Tue, 05 Aug 2008 10:19:24 -0400 Received: from [199.232.76.173] (port=41269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQNNj-000256-7S for grub-devel@gnu.org; Tue, 05 Aug 2008 10:19:23 -0400 Received: from ti-out-0910.google.com ([209.85.142.185]:31057) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQNNi-000400-PA for grub-devel@gnu.org; Tue, 05 Aug 2008 10:19:23 -0400 Received: by ti-out-0910.google.com with SMTP id u5so719379tia.10 for ; Tue, 05 Aug 2008 07:19:21 -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=31F7SF/WpBcR9wqJ8tPNAvXbnEXQa+RqkP9kbBX1qQI=; b=CgzQCphhHbegAYEm0wmtyvBToyrXvxa3o9FVt1pHDd+D9gmn9P3K0W2b0V9jQzcFwd 33G66qaO+VrhbW033IuVx8tBv0Mwp5DffGYZpTBSSCFeG76kYLLZYXcpOyR2wj1ig4Fn rXCDaImKz1Mn/1ASti+xxlra9m25fxABFEr9g= 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=Ia9TKpDtfUvD8dam1vLRP+xQ5i6+hvqO6A+cUxvXuA3ekg4RqC76wdKvXLfPkA2N/J MF2+xYUm2BYB4GdZ0K1S6swehmUayyhP65ajjjtQZ9XtFMbtP1HLyZbcq/bWh8qePMAk Qx+QrxXfToyXrZMd0dQJTlEgqCfBK1ABZp7qM= Received: by 10.110.28.15 with SMTP id b15mr1046073tib.26.1217945957497; Tue, 05 Aug 2008 07:19:17 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Tue, 5 Aug 2008 07:19:16 -0700 (PDT) Message-ID: Date: Tue, 5 Aug 2008 22:19:16 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <871w13hi5b.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1217239936.4016.14.camel@fz-deb.local> <871w13hi5b.fsf@xs4all.nl> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: GRUB has a problem with a big grub.cfg 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 14:19:25 -0000 On Tue, Aug 5, 2008 at 6:26 PM, Marco Gerards wrote: > Hi, > > Bean writes: > >> I have found the bug, it's caused by buffer overflown. In get_line >> (normal/main.c), if the string length is multiple of 64, the ending \0 >> will overflow the buffer, this patch fix the problem: > > Looks fine to me. It's already committed. -- Bean