]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd-network/sd-dhcp6-client.c
dhcp6: refuse zero length vendor class
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Jan 2021 13:38:29 +0000 (22:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Jan 2021 15:07:33 +0000 (00:07 +0900)
commit019951ec97a98775063271e5f36096ac3ba0b510
treeb211d453aa84653c06d738e8222b2ee7c13496cc
parent361eb4125d2d7679c71fba157d70d75221970715
dhcp6: refuse zero length vendor class

Also, fixes the maximum length of the vendor class to UINT16_MAX.
Moreover, a memory leak in sd_dhcp6_client_set_request_vendor_class().
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-option.c
src/libsystemd-network/sd-dhcp6-client.c
src/systemd/sd-dhcp6-client.h