freebsd-dev/sbin/dhclient
Mark Johnston 0006082054 dhclient: Fix a logic bug remove_protocol().
A logic bug in remove_protocol() meant that it would remove (leak) all
structures in the list preceding the one intended for removal.

PR:		245971
Submitted by:	joost@jodocus.org (original version)
MFC after:	1 week
2020-06-04 16:24:13 +00:00
..
tests dhclient: raise WARNS to 4 2018-02-21 21:13:08 +00:00
alloc.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
bpf.c capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
clparse.c dhclient: build with WARNS=6 2018-06-24 13:23:27 +00:00
conflex.c dhclient: build with WARNS=6 2018-06-24 13:23:27 +00:00
convert.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
dhclient-script
dhclient-script.8
dhclient.8 dhclient: Don't chroot if we are in capability mode. 2018-08-06 16:22:01 +00:00
dhclient.c Fix braino in previous bugfix r300174 2019-11-29 03:31:47 +00:00
dhclient.conf Move dhclient.conf to sbin/dhclient/. 2018-09-18 00:11:45 +00:00
dhclient.conf.5 dhclient(8): allow to supersede interface-mtu option 2018-05-31 19:36:24 +00:00
dhclient.leases.5 mdoc: improvements to SEE ALSO. 2014-12-27 08:22:58 +00:00
dhcp-options.5 dhclient: support option 114, default-url ascii 2019-11-22 20:22:16 +00:00
dhcp.h dhclient: support option 114, default-url ascii 2019-11-22 20:22:16 +00:00
dhcpd.h dhclient: build with WARNS=6 2018-06-24 13:23:27 +00:00
dhctoken.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
dispatch.c dhclient: Fix a logic bug remove_protocol(). 2020-06-04 16:24:13 +00:00
errwarn.c dhclient: raise WARNS to 4 2018-02-21 21:13:08 +00:00
hash.c dhclient: raise WARNS to 4 2018-02-21 21:13:08 +00:00
inet.c dhclient(8): raise WARNS to 3 2017-12-14 15:41:32 +00:00
Makefile Move dhclient.conf to sbin/dhclient/. 2018-09-18 00:11:45 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
options.c Free DHCP options with length zero. 2019-06-26 20:19:48 +00:00
packet.c Avoid a divide-by-zero when bad checksum counters overflow. 2019-06-26 20:11:52 +00:00
parse.c dhclient(8): add missing include 2018-01-12 04:26:40 +00:00
privsep.c dhclient: build with WARNS=6 2018-06-24 13:23:27 +00:00
privsep.h dhclient: build with WARNS=6 2018-06-24 13:23:27 +00:00
tables.c dhclient: support option 114, default-url ascii 2019-11-22 20:22:16 +00:00
tree.c dhclient(8): raise WARNS to 3 2017-12-14 15:41:32 +00:00
tree.h dhclient: raise WARNS to 4 2018-02-21 21:13:08 +00:00