Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LwZF5-0003cv-FI for mharc-grub-devel@gnu.org; Wed, 22 Apr 2009 05:59:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwZF3-0003c3-6C for grub-devel@gnu.org; Wed, 22 Apr 2009 05:59:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwZF1-0003bM-LG for grub-devel@gnu.org; Wed, 22 Apr 2009 05:59:43 -0400 Received: from [199.232.76.173] (port=47193 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwZF1-0003bF-GS for grub-devel@gnu.org; Wed, 22 Apr 2009 05:59:43 -0400 Received: from [74.93.104.97] (port=48331 helo=sunset.davemloft.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwZF0-0006Co-Tc for grub-devel@gnu.org; Wed, 22 Apr 2009 05:59:43 -0400 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id E441BC8C1B0 for ; Wed, 22 Apr 2009 02:59:34 -0700 (PDT) Date: Wed, 22 Apr 2009 02:59:34 -0700 (PDT) Message-Id: <20090422.025934.229759552.davem@davemloft.net> To: grub-devel@gnu.org From: David Miller In-Reply-To: <20090419.172753.30960111.davem@davemloft.net> References: <20090419.172753.30960111.davem@davemloft.net> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH]: grub: Exliminate fixed length string buffers in child and devalias iterators. 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: Wed, 22 Apr 2009 09:59:45 -0000 From: David Miller Date: Sun, 19 Apr 2009 17:27:53 -0700 (PDT) > 2009-04-19 David S. Miller > > * include/grub/ieee1275/ieee1275.h (IEEE1275_MAX_PROP_LEN, > IEEE1275_MAX_PATH_LEN): Define. > * kern/ieee1275/openfw.c (grub_children_iterate): Dynamically > allocate 'childtype', 'childpath', 'childname', and 'fullname'. > (grub_devalias_iterate): Dynamically allocate 'aliasname' and > 'devtype'. Explicitly NULL terminate devalias expansion. Committed.