alistair23-linux/net/irda
Dan Carpenter 4bf613c6d8 irda: buffer overflow in irnet_ctrl_read()
The comments here say that the /* Max event is 61 char */ but in 2003 we
changed the event format and now the max event size is 75.  The longest
event is:

	"Discovered %08x (%s) behind %08x {hints %02X-%02X}\n",
         12345678901    23  456789012    34567890    1    2 3
	            +8    +21        +8          +2   +2     +1
         = 75 characters.

There was a check to return -EOVERFLOW if the user gave us a "count"
value that was less than 64.  Raising it to 75 might break backwards
compatability.  Instead I removed the check and now it returns a
truncated string if "count" is too low.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-27 20:38:19 -05:00
..
ircomm TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
irlan irda: Fix typo in irda 2012-07-16 23:23:52 -07:00
irnet irda: buffer overflow in irnet_ctrl_read() 2013-01-27 20:38:19 -05:00
af_irda.c silence some noisy printks in irda 2012-10-04 15:53:48 -04:00
discovery.c
irda_device.c
iriap.c
iriap_event.c
irias_object.c
irlap.c
irlap_event.c
irlap_frame.c
irlmp.c
irlmp_event.c
irlmp_frame.c
irmod.c
irnetlink.c netlink: Rename pid to portid to avoid confusion 2012-09-10 15:30:41 -04:00
irproc.c
irqueue.c net: Remove casts to same type 2012-06-04 11:45:11 -04:00
irsysctl.c
irttp.c irda: irttp: fix memory leak in irttp_open_tsap() error path 2012-11-28 11:25:29 -05:00
Kconfig
Makefile
parameters.c
qos.c
timer.c
wrapper.c