From bcbc3fd082e7295f84a240fcea37aa934678a2f3 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 25 May 2015 16:59:48 +0200 Subject: [PATCH] Fix crash with new block (that's 1..). Reported by dg (#4353). --- src/s_conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/s_conf.c b/src/s_conf.c index 34527eeb4..a0896eacb 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -6176,7 +6176,6 @@ void auto_convert_ipv4_to_ipv6(ConfigEntry *cep) int _test_link(ConfigFile *conf, ConfigEntry *ce) { ConfigEntry *cep, *cepp, *ceppp; - ConfigItem_link *link = NULL; OperFlag *ofp; int errors = 0; @@ -6303,7 +6302,7 @@ int _test_link(ConfigFile *conf, ConfigEntry *ce) for (cepp = cep->ce_entries; cepp; cepp = cepp->ce_next) { if ((ofp = config_binary_flags_search(_LinkFlags, cepp->ce_varname, ARRAY_SIZEOF(_LinkFlags)))) - link->options |= ofp->flag; + ; } } }