git: dhclient - Add some more paranoia and make code clearer.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Aug 19 07:32:49 PDT 2012


commit 685fcbc878fd00a44eb0c76425163373c70c074b
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Wed Aug 15 01:06:26 2012 +0200

    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

Summary of changes:
 sbin/dhclient/options.c |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/685fcbc878fd00a44eb0c76425163373c70c074b


-- 
DragonFly BSD source repository





More information about the Commits mailing list