From b71f6de9ea21d0f9c39ec92f4df0e6d56e2a9753 Mon Sep 17 00:00:00 2001 From: Aron Podrigal Date: Tue, 3 Feb 2015 10:32:33 -0500 Subject: [PATCH] fixes #406 Fix segfault caused by referencing uninitialized pointer in dispatcher module. --- modules/dispatcher/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dispatcher/dispatch.c b/modules/dispatcher/dispatch.c index 4b6d7aa5633..45c1f56f894 100644 --- a/modules/dispatcher/dispatch.c +++ b/modules/dispatcher/dispatch.c @@ -650,7 +650,7 @@ static ds_data_t* ds_load_data(void) str attrs; str host; int port, proto; - db_res_t * res; + db_res_t * res = NULL; db_val_t * values; db_row_t * rows;