Rev 5594 was not complete. Coverity CID 28719.

This commit is contained in:
Thomas Schmitt 2015-11-16 10:06:23 +00:00
parent dea1aa5182
commit 6df3e0b555
2 changed files with 5 additions and 2 deletions

View File

@ -487,7 +487,10 @@ int Xorriso_set_local_charset(struct XorrisO *xorriso, char *name, int flag)
cannot:;
sprintf(xorriso->info_text,
"-local_charset: Cannot assume as local character set: ");
Text_shellsafe(name, xorriso->info_text, 1);
if(name != NULL)
Text_shellsafe(name, xorriso->info_text, 1);
else
Text_shellsafe("(NULL-pointer)", xorriso->info_text, 1);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
return(0);
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.15.153822"
#define Xorriso_timestamP "2015.11.16.100618"