From: Aki Tuomi Date: Wed, 16 Sep 2015 09:01:08 +0000 (+0300) Subject: Initialize d_fnum, fixes cid#1324500 X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2750%2Fhead;p=thirdparty%2Fpdns.git Initialize d_fnum, fixes cid#1324500 --- diff --git a/modules/gpgsqlbackend/spgsql.cc b/modules/gpgsqlbackend/spgsql.cc index 4a065619cd..701a2c4f97 100644 --- a/modules/gpgsqlbackend/spgsql.cc +++ b/modules/gpgsqlbackend/spgsql.cc @@ -37,7 +37,7 @@ public: throw SSqlException("Fatal error during prepare: " + d_query + string(": ") + errmsg); } paramValues=NULL; - d_cur_set=0;d_paridx=d_residx=d_resnum=0; + d_cur_set=d_paridx=d_residx=d_resnum=d_fnum=0; paramLengths=NULL; d_res=NULL; d_res_set=NULL;