DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dhclient - Delete trailing NUL's when parsing NVT ASCII options.


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Aug 2012 07:32:49 -0700 (PDT)

commit f568cd1e4b2b81c7ff0fbd231348721286d6c3ce
Author: Antonio Huete Jimenez <tuxillo@quantumachine.net>
Date:   Wed Aug 15 00:54:02 2012 +0200

    dhclient - Delete trailing NUL's when parsing NVT ASCII options.
    
    - RFC 2132 says "Options containing NVT ASCII data SHOULD NOT include
      a trailing NULL; however, the receiver of such options MUST be
      prepared to delete trailing nulls if they exist."
    - Should fix odd results when 'append'ing info to such options via
      dhclient.conf.
    
    Taken-from: OpenBSD

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f568cd1e4b2b81c7ff0fbd231348721286d6c3ce


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]