Date: Wed, 3 Jul 2019 00:36:34 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r349633 - stable/11/sbin/dhclient Message-ID: <201907030036.x630aYdP067693@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Wed Jul 3 00:36:34 2019 New Revision: 349633 URL: https://svnweb.freebsd.org/changeset/base/349633 Log: MFC r349439: Free DHCP options with length zero. Modified: stable/11/sbin/dhclient/options.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/dhclient/options.c ============================================================================== --- stable/11/sbin/dhclient/options.c Wed Jul 3 00:36:00 2019 (r349632) +++ stable/11/sbin/dhclient/options.c Wed Jul 3 00:36:34 2019 (r349633) @@ -894,6 +894,5 @@ do_packet(struct interface_info *interface, struct dhc /* Free the data associated with the options. */ for (i = 0; i < 256; i++) - if (tp.options[i].len && tp.options[i].data) - free(tp.options[i].data); + free(tp.options[i].data); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907030036.x630aYdP067693>