]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: uprobes: fix use of uninitialised variable
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>
Thu, 22 Sep 2016 13:38:33 +0000 (15:38 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 Sep 2016 16:59:49 +0000 (18:59 +0200)
commitcf5eb070cc7a04f8600f6f75f5a52d3d05d359a9
tree4e75f9772e002ae39af5fd62745137961f8c1443
parentbb7b263de68b40156bd37c371eb9a33db584383e
MIPS: uprobes: fix use of uninitialised variable

arch_uprobe_pre_xol needs to emulate a branch if a branch instruction
has been replaced with a breakpoint, but in fact an uninitialised local
variable was passed to the emulator routine instead of the original
instruction

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Fixes: 0198f2262f70 ('MIPS: Add uprobes support.')
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14300/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/uprobes.c