]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Fix memory leak in error path of HI16/LO16 relocation handling.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 8 Aug 2012 12:57:03 +0000 (14:57 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 14 Aug 2012 10:09:48 +0000 (12:09 +0200)
commit22f1249666b0582618bfcd1286a698ff201dca0f
treee9bb9e17e80271bfdd7bb214aeb9e348610f5304
parent8c5ecf4c7fa86582c5f0ed793b3bfea58d77ca94
MIPS: Fix memory leak in error path of HI16/LO16 relocation handling.

Commit 6f5d2e970452b5c86906adcb8e7ad246f535ba39 (lmo) /
477c4b07406357ad93d0e32788dbf3ee814eadaa (kernel.org) [[MIPS: VPE: Free
relocation chain on error.] fixed the same issue in the vpe loader in 2009
but back then the same bug in module.c went unfixed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: Akhilesh Kumar <akhilesh.lxr@gmail.com>
arch/mips/kernel/module.c