diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-09-24 20:20:52 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 21:45:38 +0400 |
commit | b655c2c4782ed3e2e71d2608154e295a3e860311 (patch) | |
tree | c358dc6a816124139b1085d5c0eaec4b4bdbefae /net/lapb/lapb_timer.c | |
parent | 67f2021fb1519057b0643d871b2afcd583bcc40d (diff) | |
download | linux-b655c2c4782ed3e2e71d2608154e295a3e860311.tar.xz |
staging: comedi: s626: don't dereference insn->data
`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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions