From: Jon Trulson Date: Mon, 2 Apr 2018 00:06:10 +0000 (-0600) Subject: dtudcfonted/_faludcInf.c: coverity CIDs 175096,175092; uninit ptr read X-Git-Tag: 2.2.4a~143 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75a892d93f53a13a0ba82e14fcf76a15f6eaeb84;p=oweals%2Fcde.git dtudcfonted/_faludcInf.c: coverity CIDs 175096,175092; uninit ptr read --- diff --git a/cde/programs/dtudcfonted/libfal/_faludcInf.c b/cde/programs/dtudcfonted/libfal/_faludcInf.c index b6437320..e8977fb5 100644 --- a/cde/programs/dtudcfonted/libfal/_faludcInf.c +++ b/cde/programs/dtudcfonted/libfal/_faludcInf.c @@ -315,7 +315,7 @@ char *charsetname; int num = 0,count,num_ret=0; int i,j,k; char **value,buf[128],ptr; - FontData font_data; + FontData font_data = NULL; sprintf(buf, "fs%d.charset.name", codeset-1); @@ -577,7 +577,7 @@ char *charsetname; int num = 0,count,num_ret=0; int i,j,k; char **value,buf[128],ptr; - FontData font_data; + FontData font_data = NULL; CodeSet cs;