freebsd-skq/sbin/dhclient
ngie 2fad502048 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.

MFC after:	1 week
Reported by:	Coverity
CID:		1007111-1007113
Reviewed by:	cem
Sponsored by:	Dell EMC Isilon
Differential Revision:	D9993
2017-03-13 17:45:00 +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 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
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
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