linux/net/irda/irnet
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
..
irnet_irda.c net: return operator cleanup 2010-09-23 14:33:39 -07:00
irnet_irda.h proc: switch /proc/irda/irnet to seq_file interface 2008-04-29 08:06:19 -07:00
irnet_ppp.c irda: buffer overflow in irnet_ctrl_read() 2013-01-27 20:38:19 -05:00
irnet_ppp.h irda/irnet: use noop_llseek 2010-09-15 19:29:55 -07:00
irnet.h ppp: Replace uses of <linux/if_ppp.h> with <linux/ppp-ioctl.h> 2012-03-04 20:41:38 -05:00
Kconfig
Makefile Net: irda: irnet: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:13 -08:00