]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Free DHCP options with length zero.
authorMark Johnston <markj@FreeBSD.org>
Wed, 26 Jun 2019 20:19:48 +0000 (20:19 +0000)
committerMark Johnston <markj@FreeBSD.org>
Wed, 26 Jun 2019 20:19:48 +0000 (20:19 +0000)
commit5baf985da7a0cf19e9f03cd1b35265a38c68762d
tree3b7f5d1866280e349bf618618b0eefc3cf30034e
parenta3ae40c7a4681adb45ea73b26c3fdad1e4286b54
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