Searched hist:193765 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sbin/dhclient/
H A Ddhclient.cdiff 193765 Mon Jun 08 19:50:39 MDT 2009 brian 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 :(

MFC after: 1 week
Security: A buffer overflow (by one NUL byte) was possible.

Completed in 89 milliseconds