From 4439040bc8b4f9d045809eb645e5cef574cd9e51 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 8 Apr 2018 08:42:02 +0200 Subject: [PATCH] patternMatcher: initialize the indirectVals map --- dnscrypt-proxy/pattern_matcher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dnscrypt-proxy/pattern_matcher.go b/dnscrypt-proxy/pattern_matcher.go index d791912d..fef7ff81 100644 --- a/dnscrypt-proxy/pattern_matcher.go +++ b/dnscrypt-proxy/pattern_matcher.go @@ -32,6 +32,7 @@ func NewPatternPatcher() *PatternMatcher { patternMatcher := PatternMatcher{ blockedPrefixes: critbitgo.NewTrie(), blockedSuffixes: critbitgo.NewTrie(), + indirectVals: make(map[string]interface{}), } return &patternMatcher }