summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-15 21:36:57 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-21 13:20:47 +0200
commit5733d88dc10508b8eb023d0cb2a4661355a0bbf7 (patch)
treec913debe46bd2f32c89a0cfe0e60a6fb691df748 /src
parenteee0a1e48e55b05ab28af0603db64bb10c690782 (diff)
networkd: fix bad memory access when parsing DNSSECNegativeTrustAnchors=
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-network-gperf.gperf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf
index affc0d00e9..5172a7b5e9 100644
--- a/src/network/networkd-network-gperf.gperf
+++ b/src/network/networkd-network-gperf.gperf
@@ -52,7 +52,7 @@ Network.DNS, config_parse_strv,
Network.LLMNR, config_parse_resolve_support, 0, offsetof(Network, llmnr)
Network.MulticastDNS, config_parse_resolve_support, 0, offsetof(Network, mdns)
Network.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Network, dnssec_mode)
-Network.DNSSECNegativeTrustAnchors, config_parse_dnssec_negative_trust_anchors, 0, offsetof(Network, dnssec_negative_trust_anchors)
+Network.DNSSECNegativeTrustAnchors, config_parse_dnssec_negative_trust_anchors, 0, 0
Network.NTP, config_parse_strv, 0, offsetof(Network, ntp)
Network.IPForward, config_parse_address_family_boolean_with_kernel,0, offsetof(Network, ip_forward)
Network.IPMasquerade, config_parse_bool, 0, offsetof(Network, ip_masquerade)