Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 07:24:16 +0000 (UTC)
From:      Brian Somers <brian@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/dhclient dhclient.c
Message-ID:  <200906150724.n5F7OQwp002584@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       2009-06-15 07:24:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sbin/dhclient        dhclient.c 
  Log:
  SVN rev 194235 on 2009-06-15 07:24:16Z by brian
  
  MFC: r193765:
    Fix an off by one error when we limit append/prepend text sizes based on our
    internal buffer sizes.
  
    When we 'append', assume we're appending to text.  Some MS dhcp servers will
    give us a string with the length including the trailing NUL.  when we 'append
    domain-name', we get something like "search x.y\000 z" in resolv.conf :(
  
  Revision  Changes    Path
  1.21.2.4  +15 -5     src/sbin/dhclient/dhclient.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906150724.n5F7OQwp002584>