|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.16, 1995/05/14 08:23:00 | version 1.17, 1995/05/15 02:09:58 | ||
|---|---|---|---|
|
|
||
| * Make sure that fragments have a data length | * Make sure that fragments have a data length | ||
| * that's a non-zero multiple of 8 bytes. | * that's a non-zero multiple of 8 bytes. | ||
| */ | */ | ||
| if (ip->ip_len == 0 || (ip->ip_len & 0x7) != 0) | if (ip->ip_len == 0 || (ip->ip_len & 0x7) != 0) { | ||
| ipstat.ips_badfrags++; | ipstat.ips_badfrags++; | ||
| goto bad; | goto bad; | ||
| } | } |