diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-12-08 19:54:20 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-12-10 01:28:09 +0900 |
commit | 83b56c70e6bcca3359b26197a7463e4c22868df1 (patch) | |
tree | cfdbf0db2a72b37e1b3023553563cdc80349d4d5 | |
parent | fb4b0465abbd96e6d342e5606c61c919c99a82ff (diff) | |
download | systemd-83b56c70e6bcca3359b26197a7463e4c22868df1.tar.gz |
network: fix segfault in parsing SendOption=
Fixes #14283.
-rw-r--r-- | src/network/networkd-dhcp-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp-common.c b/src/network/networkd-dhcp-common.c index ea5974c32a..6465a8cfe9 100644 --- a/src/network/networkd-dhcp-common.c +++ b/src/network/networkd-dhcp-common.c @@ -279,7 +279,7 @@ int config_parse_dhcp_send_option( _cleanup_(sd_dhcp_option_unrefp) sd_dhcp_option *opt = NULL, *old = NULL; _cleanup_free_ char *word = NULL, *q = NULL; - OrderedHashmap **options = userdata; + OrderedHashmap **options = data; union in_addr_union addr; DHCPOptionDataType type; uint8_t u, uint8_data; |