]> git.ipfire.org Git - thirdparty/systemd.git/commit
dhcp: length of each user class field must be positive
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Jan 2021 12:47:23 +0000 (21:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Jan 2021 15:00:56 +0000 (00:00 +0900)
commite4336c0a5df42f4c88ed31c4bad743b93b69718f
treef47eabfb9769385a6c84e53c6726c47bc867c356
parentb433300e4cd5cc9ea6a3240b8d5755fd62c26d99
dhcp: length of each user class field must be positive

This also fixes an memory leak when sd_dhcp_client_set_user_class()
is called multiple times.
src/libsystemd-network/dhcp-option.c
src/libsystemd-network/sd-dhcp-client.c
src/network/networkd-dhcp4.c
src/systemd/sd-dhcp-client.h