summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-09-24 20:20:52 +0400
committerBen Hutchings <ben@decadent.org.uk>2012-10-17 06:49:00 +0400
commit5a31f0678b0f3d8e826685567d246711f185cb14 (patch)
treef2fa133e1e60a81ffaaf324d3682ac1c64189641 /drivers/tty
parent6760fa5f3358b9eb6bef4d02144d5d169414cecd (diff)
downloadlinux-5a31f0678b0f3d8e826685567d246711f185cb14.tar.xz
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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions