From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 16 Oct 2012 12:43:08 +0200 Subject: [U-Boot] [PATCH] Prevent malloc with size 0 In-Reply-To: References: <4CC006B1.8000905@intracomdefense.com> <201210160831.20759.marex@denx.de> Message-ID: <201210161243.08281.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Joakim Tjernlund, [...] > > do about this patch? > > Skip the idea to protect a page, this is too complicated for a boot > loader. Just > treat malloc(0) as malloc(1) internally. I was more interested in knowing if we should drop the patch or what ... ? Best regards, Marek Vasut