[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1328247987.6750.26.camel@sauron.fi.intel.com>
Date: Fri, 03 Feb 2012 07:46:27 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Richard Weinberger <richard@....at>
Cc: dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, stable@...nel.org
Subject: Re: [PATCH] UBI: Fix error handling in ubi_scan()
On Mon, 2012-01-30 at 18:20 +0100, Richard Weinberger wrote:
> Two bad things can happen in ubi_scan():
> 1. If kmem_cache_create() fails we jump to out_si and call
> ubi_scan_destroy_si() which calls kmem_cache_destroy().
> But si->scan_leb_slab is NULL.
> 2. If process_eb() fails we jump to out_vidh, call
> kmem_cache_destroy() and ubi_scan_destroy_si() which calls
> again kmem_cache_destroy().
Pushed to ubi-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists