summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSteve Holland <sdh4@iastate.edu>2009-06-19 00:37:49 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-23 15:46:35 +0200
commit92d07e422df3cc5370d0d9b95a671abb69d50ef1 (patch)
tree497f5e7e185c98405d4966d895e37b9edcbba52d /scripts
parentUSB: usbtmc: Fix short reads in usbtmc_read() (diff)
downloadlinux-92d07e422df3cc5370d0d9b95a671abb69d50ef1.tar.xz
linux-92d07e422df3cc5370d0d9b95a671abb69d50ef1.zip
USB: usbtmc: inhibit corruption
Limit data copied to userspace to amount requested. Prevents a faulty instrument from overwriting user memory. Signed-off-by: Steve Holland <sdh4@iastate.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions