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
..
fc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fddi.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
hippi.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
Makefile [PATCH] tiny: Trim non-IPX builds 2006-01-08 20:14:10 -08:00
p8022.c [LLC]: Use refcounting with struct llc_sap 2005-09-22 04:43:05 -03:00
p8023.c [P8023]: Fix tainting of kernel. 2006-02-13 15:38:42 -08:00
psnap.c [SNAP]: Check packet length before reading 2007-08-21 20:58:13 -07:00
sysctl_net_802.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tr.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00