dhclient - Add some more paranoia and make code clearer.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 14 Aug 2012 23:06:26 +0000 (01:06 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Wed, 15 Aug 2012 01:22:20 +0000 (03:22 +0200)
commit8ac76ed9152f2a7f8280e3e4e8d9cddccbd22705
tree0a2dcda689b38e2d4c60e3511be4bbbe5796ff32
parent815907baae517ad3cfcbe59163cca9bdd4b56e01
dhclient - Add some more paranoia and make code clearer.

- Check that the required length field for the option
  is present before using it. Reject lease if no length
  field is present.

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