mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtudcfonted/_faludcInf.c: coverity CIDs 175096,175092; uninit ptr read
This commit is contained in:
parent
03ba4e454c
commit
75a892d93f
1 changed files with 2 additions and 2 deletions
|
@ -315,7 +315,7 @@ char *charsetname;
|
||||||
int num = 0,count,num_ret=0;
|
int num = 0,count,num_ret=0;
|
||||||
int i,j,k;
|
int i,j,k;
|
||||||
char **value,buf[128],ptr;
|
char **value,buf[128],ptr;
|
||||||
FontData font_data;
|
FontData font_data = NULL;
|
||||||
|
|
||||||
|
|
||||||
sprintf(buf, "fs%d.charset.name", codeset-1);
|
sprintf(buf, "fs%d.charset.name", codeset-1);
|
||||||
|
@ -577,7 +577,7 @@ char *charsetname;
|
||||||
int num = 0,count,num_ret=0;
|
int num = 0,count,num_ret=0;
|
||||||
int i,j,k;
|
int i,j,k;
|
||||||
char **value,buf[128],ptr;
|
char **value,buf[128],ptr;
|
||||||
FontData font_data;
|
FontData font_data = NULL;
|
||||||
CodeSet cs;
|
CodeSet cs;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue