freebsd-skq/sbin/dhclient
ngie b990ff3c5d sbin/dhclient: fix a memory leak in parse_client_lease_statement(..)
The memory stored by `lease` would have previously been leaked if an
unterminated lease declaration was found in an early-return code path.

MFC after:	1 week
Reported by:	clang static analyzer, Coverity
CID:		1007114
Submitted by:	Tom Rix <trix@juniper.net>
Sponsored by:	Dell EMC Isilon; Juniper, Inc
Differential Revision:	D9992
2017-03-13 17:05:49 +00:00
..
tests sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
alloc.c
bpf.c Remove duplicated includes. 2014-06-26 13:57:44 +00:00
clparse.c sbin/dhclient: fix a memory leak in parse_client_lease_statement(..) 2017-03-13 17:05:49 +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 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
dhclient.8 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
dhclient.c dhclient: add support for interface-mtu (26) 2016-09-02 21:14:29 +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 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
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
packet.c Since r270929 raw sockets expect network byte order. 2014-09-11 05:48:39 +00:00
parse.c
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