merge dhcpd's packet.c revision 1.7:
authortobias <tobias@openbsd.org>
Mon, 28 Jul 2014 16:40:32 +0000 (16:40 +0000)
committertobias <tobias@openbsd.org>
Mon, 28 Jul 2014 16:40:32 +0000 (16:40 +0000)
commit64b20cad71bf00a4148f1d99eba0b7b80e903796
tree6ec9b591be72d95e0e6ad48b22751bfcf2acd92c
parent3abd23a9a33ceedc7727b49a96658f167ac2452d
merge dhcpd's packet.c revision 1.7:

Fix very hard to reach DoS attack vector, which would involve more than
8 billion network packets.  Mixture of many many malformed and proper
packets could result in a division by zero.

ok krw@
sbin/dhclient/packet.c
usr.sbin/dhcrelay/packet.c