Skip to content
Commit 5067cf53 authored by Jesper Juhl's avatar Jesper Juhl Committed by Ingo Molnar
Browse files

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: default avatarJesper Juhl <jj@chaosbits.net>
Link: http://lkml.kernel.org/r/alpine.LNX.2.00.1201232332590.8772@swampdragon.chaosbits.net


[ Mostly harmless. ]
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3fe54564
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment