dtudcfonted/_faludcInf.c: coverity CIDs 175096,175092; uninit ptr read
authorJon Trulson <jon@radscan.com>
Mon, 2 Apr 2018 00:06:10 +0000 (18:06 -0600)
committerJon Trulson <jon@radscan.com>
Mon, 2 Apr 2018 00:06:10 +0000 (18:06 -0600)
cde/programs/dtudcfonted/libfal/_faludcInf.c

index b6437320fe052f293d69a6c45a93f7fa7726bfa1..e8977fb5ad6a7eea54c7869d5baa08b039f94154 100644 (file)
@@ -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;