From 6df3e0b55551f93a9a957a489c468b85df11ab56 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 16 Nov 2015 10:06:23 +0000 Subject: [PATCH] Rev 5594 was not complete. Coverity CID 28719. --- xorriso/lib_mgt.c | 5 ++++- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/xorriso/lib_mgt.c b/xorriso/lib_mgt.c index 634b644a..39b28a72 100644 --- a/xorriso/lib_mgt.c +++ b/xorriso/lib_mgt.c @@ -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); } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 41ab77e9..21d5fc4a 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.15.153822" +#define Xorriso_timestamP "2015.11.16.100618"