[PATCH] mtd: nand: don't leak buffers when ->scan_bbt() fails
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Mon May 1 19:21:52 PDT 2017
On 1 May 2017 at 22:33, Brian Norris <computersforpeace at gmail.com> wrote:
> On Mon, May 01, 2017 at 09:22:03PM -0300, Ezequiel Garcia wrote:
>> On 1 May 2017 at 21:04, Brian Norris <computersforpeace at gmail.com> wrote:
>> > This bug seems to have been here forever, although we came close to
>> > fixing all of them in [1]!
>> >
>> > [1] 11eaf6df1cce ("mtd: nand: Remove BUG() abuse in nand_scan_tail")
>> >
>>
>> Well, we came even closer. See [1] for a patch that fixes this by cleaning
>> BBT init and release.
>
> That's a different bug(fix), no?
>
Oops, I really jumped on the gun here. The patch looks good.
Acked-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
--
Ezequiel García, VanguardiaSur
www.vanguardiasur.com.ar
More information about the linux-mtd
mailing list