commit | 5afeb104e7901168b21aad0437fb51dc620dfdd3 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.de> | Mon Jun 11 15:36:02 2007 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 25 23:38:06 2007 -0700 |
tree | 4e4176d96fb6df1ad12078967bceb058d544ecbe | |
parent | fc0f8fc9be654bbff08ede04a49bd8f9805b9e13 [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>