linux/net/irda/irnet
Dan Rosenberg d50e7e3604 irda: prevent heap corruption on invalid nickname
Invalid nicknames containing only spaces will result in an underflow in
a memcpy size calculation, subsequently destroying the heap and
panicking.

v2 also catches the case where the provided nickname is longer than the
buffer size, which can result in controllable heap corruption.

Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>
Cc: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-27 17:59:02 -07: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: prevent heap corruption on invalid nickname 2011-03-27 17:59:02 -07:00
irnet_ppp.h irda/irnet: use noop_llseek 2010-09-15 19:29:55 -07:00
irnet.h irda: Remove BKL instances from irnet 2010-10-11 02:11:34 +02:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Net: irda: irnet: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:13 -08:00