From: Heiko Carstens Date: Fri, 28 Nov 2014 11:36:48 +0000 (+0100) Subject: s390/kprobes: fix instruction copy for out of line execution X-Git-Tag: omap-for-v3.19/fixes-rc1~124^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed7d56e174b11b76e2954f28605c5c16f8814fab;p=pandora-kernel.git s390/kprobes: fix instruction copy for out of line execution When we generate the instruction for out of line execution the length of the to be copied instruction was evaluated from a not initialized memory location. Therefore we ended up with a random (2, 4 or 6) number of bytes being copied instead of taking the real instruction length into account. This works surprisingly well most of the time, but still not always. Reported-by: Ursula Braun Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed