From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 12 Oct 2011 11:39:09 +0200 Subject: [U-Boot] [PATCH v2] ubifs bad superblock bug In-Reply-To: <0675abd5ccc57df98a76b810f49903e1@atlantis.wh2.tu-dresden.de> References: <0675abd5ccc57df98a76b810f49903e1@atlantis.wh2.tu-dresden.de> Message-ID: <201110121139.09580.sr@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 Hi Lars, On Tuesday 04 October 2011 13:35:07 larsi wrote: > This patch fixes an issue when ubifs reads a bad superblock. Later it > tries to free memory, that was not allocated, which freezes u-boot. > This is fixed by looking for a non null pointer before free. I had to manually apply this patch because it didn't apply clean. Applied to u-boot-ubi/master. Thanks. Best regards, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de