]> git.baikalelectronics.ru Git - kernel.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>
Fri, 17 Aug 2012 08:57:27 +0000 (10:57 +0200)
commitc0523efde2f93b68c4149ec7b9ba8a5ac1107ce0
treeae27d06c44b3d36c7cb4b1b5373c569ef535369f
parentf283ac4b79f662d07f499bc2876372d293d7cc4b
MIPS: Fix memory leak in error path of HI16/LO16 relocation handling.

Commit 6f5d2e970452b5c86906adcb8e7ad246f535ba39 (lmo) /
175471ae1d5abeefb8b2e1244183efd08e6e7c10 (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