2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/mtd/nand/gpmi-nand
Han Xu 2cd395d13a mtd: gpmi: fix raw_buffer pointer double free issue
fix the raw_buffer pointer double free issue found by coverify.

CID 18344 (#2 of 2): Double free (USE_AFTER_FREE)
3. double_free: Calling gpmi_alloc_dma_buffer frees pointer
this->raw_buffer which has already been freed

Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2016-04-19 22:04:52 +02:00
..
bch-regs.h mtd: gpmi: add gpmi support for imx6sx 2014-05-28 16:02:16 -07:00
gpmi-lib.c mtd: nand: gpmi: use the mtd instance embedded in struct nand_chip 2015-12-18 10:54:41 -08:00
gpmi-nand.c mtd: gpmi: fix raw_buffer pointer double free issue 2016-04-19 22:04:52 +02:00
gpmi-nand.h mtd: nand: gpmi: use the mtd instance embedded in struct nand_chip 2015-12-18 10:54:41 -08:00
gpmi-regs.h mtd: gpmi: decouple the chip select from the DMA channel 2013-11-06 23:33:01 -08:00
Makefile mtd: add GPMI-NAND driver in the config and Makefile 2011-09-11 15:02:18 +03:00