From 47e2e4d3e05b2ee0a0ce352dd93bcf49116aa98c Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Sat, 21 Nov 2015 03:44:06 +0200 Subject: [PATCH] Configuration parameters were uninitialized The creation of a CONFIG_PARAM didn't initialize the qdf_param_type value which was later used when adding parameters to the monitors. --- server/core/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/core/config.c b/server/core/config.c index bbde33d69..2fe378dc2 100644 --- a/server/core/config.c +++ b/server/core/config.c @@ -279,6 +279,7 @@ handler(void *userdata, const char *section, const char *name, const char *value param->name = strdup(name); param->value = strdup(value); param->next = ptr->parameters; + param->qfd_param_type = UNDEFINED_TYPE; ptr->parameters = param; return 1;