freebsd-src/sbin/dhclient
Enji Cooper 09942e5715 MFC r315199,r315200,r315203:
r315199:

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.

CID:		1007114

r315200:

Fix -Wunused-but-set-warning with `ret`

While here, resolve Coverity warnings by demonstrating that vfprintf's
return value is being explicitly ignored.

Tested with:	clang, gcc 4.2.1, gcc 6.3.0

r315203:

sbin/dhclient: fix `vendor` storage leak in parse_option_decl(..)

This ensures the storage isn't leaked when non-NULL and the function
returns early, prior to the `free(vendor)` later on in the function.

CID:		1007111-1007113
2017-03-20 03:06:41 +00:00
..
tests MFC r315199,r315200,r315203: 2017-03-20 03:06:41 +00:00
alloc.c
bpf.c Merge an applicable subset of r263234 from HEAD to stable/10: 2015-03-19 12:32:48 +00:00
clparse.c MFC r315199,r315200,r315203: 2017-03-20 03:06:41 +00:00
conflex.c MFC r301235: 2016-06-06 13:31:28 +00:00
convert.c
dhclient-script Set svn:executable on dhclient-script 2011-12-30 14:46:53 +00:00
dhclient-script.8 MFC r267667: 2016-10-16 22:02:50 +00:00
dhclient.8 MFC r267667: 2016-10-16 22:02:50 +00:00
dhclient.c MFC r298385 2016-05-06 05:44:12 +00:00
dhclient.conf
dhclient.conf.5 MFC r267667: 2016-10-16 22:02:50 +00:00
dhclient.leases.5 MFC r267667: 2016-10-16 22:02:50 +00:00
dhcp-options.5 MFC r267667: 2016-10-16 22:02:50 +00:00
dhcp.h
dhcpd.h MFp4 @229481: 2013-07-03 22:12:54 +00:00
dhctoken.h
dispatch.c MFC r311160, r311210, r311288, r311292, r311298, r311340 2017-02-02 19:50:28 +00:00
errwarn.c
hash.c
inet.c
Makefile MFC various moves of tools/regressions/ tests to the new infrastructure. 2014-04-27 01:15:10 +00:00
options.c Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
packet.c MFp4 @229471: 2013-07-03 21:49:10 +00:00
parse.c
privsep.c MFp4 @229481: 2013-07-03 22:12:54 +00:00
privsep.h MFp4 @229479: 2013-07-03 22:07:55 +00:00
tables.c
tree.c
tree.h