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 Fix -Wunused-but-set-warning with ret 2017-03-13 17:15:45 +00:00
alloc.c
bpf.c
clparse.c sbin/dhclient: fix vendor storage leak in parse_option_decl(..) 2017-03-13 17:45:00 +00:00
conflex.c dhclient(1): correct obvious mismatch in get_char(). 2016-06-03 03:40:39 +00:00
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 mdoc: improvements to SEE ALSO. 2014-12-27 08:22:58 +00:00
dhclient.leases.5 mdoc: improvements to SEE ALSO. 2014-12-27 08:22:58 +00:00
dhcp-options.5
dhcp.h
dhcpd.h dhclient: add support for interface-mtu (26) 2016-09-02 21:14:29 +00:00
dhctoken.h
dispatch.c Remove dead code in dhclient(8) 2017-01-04 18:13:05 +00:00
errwarn.c
hash.c
inet.c
Makefile Explicitly add more files to the 'runtime' package. 2016-02-09 20:19:31 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
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 Since r270929 raw sockets expect network byte order. 2014-09-11 05:48:39 +00:00
parse.c parse.c parse_string 2017-05-31 21:31:15 +00:00
privsep.c dhclient: add support for interface-mtu (26) 2016-09-02 21:14:29 +00:00
privsep.h dhclient: add support for interface-mtu (26) 2016-09-02 21:14:29 +00:00
tables.c dhclient(8): Enable numbered user class ID option 2016-09-20 19:21:41 +00:00
tree.c
tree.h