aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-09-24 17:20:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:39:31 -0700
commit63c50ecb1e4a027a8246b92ce20095d3a0162b5e (patch)
treeac820008be093b0342fe081305e4e5a5bcfc4ee4 /scripts/patch-kernel
parent42ff6af381dff1dfbe1d819afb7639dc1a27bc02 (diff)
staging: comedi: s626: don't dereference insn->data
commit b655c2c4782ed3e2e71d2608154e295a3e860311 upstream. `s626_enc_insn_config()` is incorrectly dereferencing `insn->data` which is a pointer to user memory. It should be dereferencing the separate `data` parameter that points to a copy of the data in kernel memory. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions