aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/usb-skeleton.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2007-06-11 09:36:02 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-06-26 02:38:06 -0400
commit5afeb104e7901168b21aad0437fb51dc620dfdd3 (patch)
tree4e4176d96fb6df1ad12078967bceb058d544ecbe /drivers/usb/usb-skeleton.c
parentfc0f8fc9be654bbff08ede04a49bd8f9805b9e13 (diff)
USB: usblcd doesn't limit memory consumption during write
usblcd currently has no way to limit memory consumption by fast writers. This is a security problem, as it allows users with write access to this device to drive the system into oom despite resource limits. Here's the fix taken from the modern skeleton driver. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions