Skip to content
Snippets Groups Projects
Commit 92d07e42 authored by Steve Holland's avatar Steve Holland Committed by Greg Kroah-Hartman
Browse files

USB: usbtmc: inhibit corruption


Limit data copied to userspace to amount requested.  Prevents a faulty
instrument from overwriting user memory.

Signed-off-by: default avatarSteve Holland <sdh4@iastate.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c2cd26e1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment