From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 27.mail-out.ovh.net ([91.121.30.210]) by bombadil.infradead.org with smtp (Exim 4.72 #1 (Red Hat Linux)) id 1OnVO8-0001Ag-8j for barebox@lists.infradead.org; Mon, 23 Aug 2010 11:40:29 +0000 Date: Mon, 23 Aug 2010 13:40:15 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20100823114015.GU8693@game.jcrosoft.org> References: <1282544653-11508-1-git-send-email-s.hauer@pengutronix.de> <1282544653-11508-8-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1282544653-11508-8-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 7/9] menu: fix memory corruption To: Sascha Hauer Cc: barebox@lists.infradead.org On 08:24 Mon 23 Aug , Sascha Hauer wrote: > menu_free and menu_entry_free are called on not fully initialized > entries, so we have to check for validity before freeing the > members. > I disagree free is suposed to not fail evenif we pass a NULL pointer Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox