linux/drivers/edac
Borislav Petkov a9f0fbe2bb amd64_edac: Fix potential memleak
We check the pointers together but at least one of them could be invalid
due to failed allocation. Since we cannot continue if either of the two
allocations has failed, exit early by freeing them both.

Cc: <stable@kernel.org> # 38.x
Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
2011-03-29 18:19:06 +02:00
..
amd64_edac.c amd64_edac: Fix potential memleak 2011-03-29 18:19:06 +02:00
amd64_edac.h amd64_edac: Fix DRAM base macros 2011-03-17 14:46:30 +01:00
amd64_edac_dbg.c
amd64_edac_inj.c amd64_edac: Add support for F15h DCT PCI config accesses 2011-03-17 14:46:11 +01:00
amd76x_edac.c
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
cell_edac.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
cpc925_edac.c EDAC: Fixup scrubrate manipulation 2011-01-07 11:38:31 +01:00
e7xxx_edac.c
e752x_edac.c EDAC: Fixup scrubrate manipulation 2011-01-07 11:38:31 +01:00
edac_core.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
edac_device.c
edac_device_sysfs.c
edac_mc.c amd64_edac: Rework printk macros 2011-01-07 11:33:56 +01:00
edac_mc_sysfs.c EDAC: Shut up sysfs registration debug code 2011-03-17 14:46:10 +01:00
edac_mce.c
edac_module.c
edac_module.h
edac_pci.c
edac_pci_sysfs.c
edac_stub.c
i7core_edac.c i7core_edac: fix typos in comments 2010-12-28 01:20:51 +01:00
i3000_edac.c
i3200_edac.c
i5000_edac.c
i5100_edac.c EDAC: Fixup scrubrate manipulation 2011-01-07 11:38:31 +01:00
i5400_edac.c
i7300_edac.c Kill off warning: ‘inline’ is not at beginning of declaration 2011-01-19 15:43:08 +01:00
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c edac: correct i82975x error-info reported 2011-02-17 16:47:04 +01:00
Kconfig drivers/edac: provide support for tile architecture 2011-03-10 13:30:14 -05:00
Makefile drivers/edac: provide support for tile architecture 2011-03-10 13:30:14 -05:00
mce_amd.c amd64_edac: Enable driver on F15h 2011-03-17 14:46:26 +01:00
mce_amd.h amd64_edac: Simplify decoding path 2011-03-17 14:46:19 +01:00
mce_amd_inj.c EDAC, MCE: Allow F15h bank 6 MCE injection 2011-01-07 11:54:23 +01:00
mpc85xx_edac.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
mpc85xx_edac.h
mv64x60_edac.c
mv64x60_edac.h
pasemi_edac.c
ppc4xx_edac.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
ppc4xx_edac.h
r82600_edac.c
tile_edac.c drivers/edac: provide support for tile architecture 2011-03-10 13:30:14 -05:00
x38_edac.c