]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[PATCH] Input: mousedev - fix memory leak
authorKimball Murray <kimball.murray@stratus.com>
Thu, 2 Feb 2006 05:08:59 +0000 (00:08 -0500)
committerChris Wright <chrisw@sous-sol.org>
Fri, 10 Feb 2006 07:20:07 +0000 (23:20 -0800)
commitcacb5bd9e9c404b2e33f1d75f18604df34e16fad
tree09207fca790390c5bc21113fee5e868399a910a5
parente7a9850f9a29508eb9ba7f43e733b01096bc171d
[PATCH] Input: mousedev - fix memory leak

Input: mousedev - fix memory leak

Apparently, "while true; do cat </dev/null >/dev/input/mice; done" causes
an OOM in a short amount of time. Funny that nobody noticed, it actually
is very easy to trigger just by switching between VT1 and VT7...

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mousedev.c