android_kernel_samsung_msm8976/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.h irda: Remove BKL instances from irnet 2010-10-11 02:11:34 +02:00
irnet_irda.c net: return operator cleanup 2010-09-23 14:33:39 -07:00
irnet_irda.h
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
Kconfig
Makefile Net: irda: irnet: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:13 -08:00