Simplify read_string() to just read the characters between the '"'s.
authorkrw <krw@openbsd.org>
Mon, 3 Apr 2017 18:23:36 +0000 (18:23 +0000)
committerkrw <krw@openbsd.org>
Mon, 3 Apr 2017 18:23:36 +0000 (18:23 +0000)
commitd6781dfeaa76d80d8795b239f2c7e2b729e90b64
treeef55dcf93df5e083d6e24ec226cb3a4368e0c527
parentdb006180e56b790d51443987f96346d99e672470
Simplify read_string() to just read the characters between the '"'s.
Push the un-vising up to parse_string(). This allows both the actual
string and the un-vised version to be available as desired. Use
memcpy() instead of strdup() to copy un-vised string since it may
legitimately contain NUL.
sbin/dhclient/conflex.c
sbin/dhclient/parse.c