diff options
author | Stephen Ware <[email protected]> | 2008-10-08 10:53:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2008-10-17 14:41:04 -0700 |
commit | 84dcd594952bf9b95b3901516a61e57abdf54d62 (patch) | |
tree | c287500ddd5d4559a8313485e66cd224333281c1 /net/lapb/lapb_timer.c | |
parent | 71b7497c078a97e2afb774ad7c1f8ff5bdda8a60 (diff) |
USB: fix up problems in the vtusb driver
Add range check on buffer sizes passed in from user space
(max is 8*PAGE_SIZE) which will work for the most common
spectrometers even at pages as small as 1K.
Add kref to vst device structure to preserve reference to the
usb object until we truly are done with it.
From: Stephen Ware <[email protected]>
From: Dennis O'Brien <[email protected]>
Signed-off-by: Dennis O'Brien <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions