freebsd-skq/sbin/dhclient
stevek f7f5f7e196 parse.c parse_string
When parse_semi fails, free s before returning

parse.c parse_numeric_aggregate
The memory assigned to bufp is complicated, it can either be from the input
parameter buf or allocated locally. Introduce a new variable lbufp to track
when it is assigned locally and to free it when appropriate.

Submitted by:	Thomas Rix <trix@juniper.net>
Reviewed by:	jhb
Approved by:	sjg (mentor)
Obtained from:	Juniper Networks, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D9899
2017-05-31 21:31:15 +00:00
..
tests
alloc.c
bpf.c
clparse.c
conflex.c
convert.c
dhclient-script
dhclient-script.8
dhclient.8
dhclient.c Fix handling of large DHCP expiry values. 2017-05-07 19:59:37 +00:00
dhclient.conf
dhclient.conf.5
dhclient.leases.5
dhcp-options.5
dhcp.h
dhcpd.h
dhctoken.h
dispatch.c
errwarn.c
hash.c
inet.c
Makefile
Makefile.depend
options.c Fix the output of very large rebind, renew and lease time options in 2017-05-07 21:11:28 +00:00
packet.c
parse.c parse.c parse_string 2017-05-31 21:31:15 +00:00
privsep.c
privsep.h
tables.c
tree.c
tree.h