diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-09-18 19:46:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-07 08:39:31 -0700 |
commit | 4c68fab02c7b1ab1bba6abd3ac1ab06e72301128 (patch) | |
tree | 7636bc69bd5cbdd7c4b5dbcab13b206b12917270 /scripts/patch-kernel | |
parent | 22d0fff1579e4d040fe22100f4712391a3c0cf4a (diff) |
staging: comedi: don't dereference user memory for INSN_INTTRIG
commit 5d06e3df280bd230e2eadc16372e62818c63e894 upstream.
`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.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions