OpenBSD/src TyrbDwO — sbin/dhclient clparse.c parse.c
Replace malloc()/memcpy() with strdup() in parse_string(). Nuke 'len' parameter to parse_string() in favour of taking strlen() of resulting string in the few cases that it is of interest.
Version | Delta | File | |
---|---|---|---|
1.190 | +13 | -11 | sbin/dhclient/clparse.c |
1.81 | +4 | -7 | sbin/dhclient/parse.c |
1.280 | +2 | -2 | sbin/dhclient/dhcpd.h |
+19 | -20 | 3 files |