linux_dsm_epyc7002/arch/x86/boot/compressed
Jesper Juhl 5067cf53ca x86/boot-image: Don't leak phdrs in arch/x86/boot/compressed/misc.c::Parse_elf()
We allocate memory with malloc(), but neglect to free it before
the variable 'phdrs' goes out of scope --> leak.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Link: http://lkml.kernel.org/r/alpine.LNX.2.00.1201232332590.8772@swampdragon.chaosbits.net
[ Mostly harmless. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2012-01-26 11:30:29 +01:00
..
.gitignore x86, boot: add new generated files to the appropriate .gitignore files 2009-06-02 21:13:30 -07:00
cmdline.c x86, setup: enable early console output from the decompressor 2010-08-02 20:32:20 -07:00
early_serial_console.c x86, setup: enable early console output from the decompressor 2010-08-02 20:32:20 -07:00
eboot.c x86, efi: Break up large initrd reads 2011-12-16 08:34:35 -08:00
eboot.h x86, efi: Break up large initrd reads 2011-12-16 08:34:35 -08:00
efi_stub_32.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
efi_stub_64.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
head_32.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
head_64.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
Makefile x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
misc.c x86/boot-image: Don't leak phdrs in arch/x86/boot/compressed/misc.c::Parse_elf() 2012-01-26 11:30:29 +01:00
misc.h x86, setup: move isdigit.h to ctype.h, header files on top. 2010-08-02 21:07:20 -07:00
mkpiggy.c x86, build: Make sure mkpiggy fails on read error 2011-03-01 16:32:03 -08:00
relocs.c Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
string.c x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
vmlinux.lds.S x86, setup: Allow global variables and functions in the decompressor 2010-08-02 15:34:44 -07:00