dhcp6: make sure we have enough space for the DHCP6 option header
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Oct 2018 10:12:33 +0000 (12:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 09:23:19 +0000 (11:23 +0200)
commit4dac5eaba4e419b29c97da38a8b1f82336c2c892
tree89c8808e74174a132fbe074c2811e3eab7ffa856
parent990668aa4cf04ea1c05791af97b1c05080378016
dhcp6: make sure we have enough space for the DHCP6 option header

Fixes a vulnerability originally discovered by Felix Wilhelm from
Google.

CVE-2018-15688
LP: #1795921
https://bugzilla.redhat.com/show_bug.cgi?id=1639067
src/libsystemd-network/dhcp6-option.c