kernel-fxtec-pro1x/drivers/mtd
Florin Malita dcec4c3bdc UBI: fix leak in ubi_scan_erase_peb
Coverity (1769) found the following problem: if the erase counter
overflow check triggers, ec_hdr is leaked.

Moving the allocation after the overflow check should take care of it.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-10-14 13:10:20 +03:00
..
chips
devices
maps
nand
onenand
ubi UBI: fix leak in ubi_scan_erase_peb 2007-10-14 13:10:20 +03:00
afs.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
Kconfig
Makefile
mtd_blkdevs.c
mtdblock.c
mtdblock_ro.c
mtdchar.c
mtdconcat.c
mtdcore.c
mtdpart.c
mtdsuper.c
nftlcore.c
nftlmount.c
redboot.c
rfd_ftl.c
ssfdc.c