diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-09-18 19:46:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-19 11:26:13 +0100 |
commit | 5d06e3df280bd230e2eadc16372e62818c63e894 (patch) | |
tree | 9918f625d95258bb3c3e94a2cfad3be89306d974 /tools/perf/scripts/python | |
parent | 9f82e95773f0f02cfc948c8346a61d161f4eb61b (diff) |
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 <stable@vger.kernel.org>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions