linux-stable/net/bluetooth/rfcomm
Marcel Holtmann 101545f6fe Bluetooth: Fix potential bad memory access with sysfs files
When creating a high number of Bluetooth sockets (L2CAP, SCO
and RFCOMM) it is possible to scribble repeatedly on arbitrary
pages of memory. Ensure that the content of these sysfs files is
always less than one page. Even if this means truncating. The
files in question are scheduled to be moved over to debugfs in
the future anyway.

Based on initial patches from Neil Brown and Linus Torvalds

Reported-by: Neil Brown <neilb@suse.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2010-03-21 05:49:32 +01:00
..
core.c Bluetooth: Fix potential bad memory access with sysfs files 2010-03-21 05:49:32 +01:00
Kconfig
Makefile [Bluetooth] Move CRC table into RFCOMM core 2005-10-28 19:20:36 +02:00
sock.c Bluetooth: Fix potential bad memory access with sysfs files 2010-03-21 05:49:32 +01:00
tty.c proc tty: remove struct tty_operations::read_proc 2009-04-01 08:59:10 -07:00