From: Ian Abbott Date: Tue, 18 Sep 2012 18:46:58 +0000 (+0100) Subject: staging: comedi: don't dereference user memory for INSN_INTTRIG X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d06e3df280bd230e2eadc16372e62818c63e894;p=pandora-kernel.git staging: comedi: don't dereference user memory for INSN_INTTRIG `parse_insn()` is dereferencing the user-space pointer `insn->data` directly when handling the `INSN_INTTRIG` comedi instruction. It shouldn't be using `insn->data` at all; it should be using the separate `data` pointer passed to the function. Fix it. Cc: stable Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed