]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Free DHCP options with length zero.
authormarkj <markj@FreeBSD.org>
Wed, 26 Jun 2019 20:19:48 +0000 (20:19 +0000)
committermarkj <markj@FreeBSD.org>
Wed, 26 Jun 2019 20:19:48 +0000 (20:19 +0000)
commit27b624772a9ab1a3fa1962687c71b98b48cac755
tree3b7f5d1866280e349bf618618b0eefc3cf30034e
parent5df3bbc1aec8c5bf25a37a9fa01500f7afb363c9
Free DHCP options with length zero.

Otherwise they are leaked, allowing an attacker to trigger memory
exhaustion.

This is options.c rev. 1.70 from OpenBSD.

admbugs: 552
Obtained from: OpenBSD
MFC after: 3 days
sbin/dhclient/options.c