Subject: CVS commit: syssrc/sys/net
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 03/26/2002 18:05:04
Module Name: syssrc
Committed By: christos
Date: Tue Mar 26 16:05:04 UTC 2002
Modified Files:
syssrc/sys/net: if_gif.c
Log Message:
We are not guaranteed that we have enough bytes to get a struct ip from our
mbuf. So if we receive a short packet, that looks like gif we would panic.
Reviewed by thorpej, tested by Kimmo Suominen and Andreas Wrede. Thanks for
the help in tracking this down.
To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 syssrc/sys/net/if_gif.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.