dhclient - Properly handle zero-length option hints.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Fri, 3 Aug 2012 23:07:20 +0000 (01:07 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Wed, 15 Aug 2012 01:22:18 +0000 (03:22 +0200)
commitefbe5ab24dc5becd03e4184aa13ef13c68c734a5
tree808c317d997449e0eebaeea3454218d60a60d7cb
parent2dec1277f88fbfffac8dd419d14e6168e7ae1f0d
dhclient - Properly handle zero-length option hints.

- There was a possible division by zero if a server
  sends us a broken option hints for the proper fix.

Taken-from: OpenBSD
sbin/dhclient/options.c