linux/net/802
Herbert Xu d92a7db710 [SNAP]: Check packet length before reading
The snap_rcv code reads 5 bytes so we should make sure that
we have 5 bytes in the head before proceeding.

Based on diagnosis and fix by Evgeniy Polyakov, reported by
Alan J. Wylie.

Patch also kills the skb->sk assignment before kfree_skb
since it's redundant.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-08-21 20:58:13 -07:00
..
Makefile
fc.c
fddi.c
hippi.c
p8022.c
p8023.c
psnap.c [SNAP]: Check packet length before reading 2007-08-21 20:58:13 -07:00
sysctl_net_802.c
tr.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00