Prevented possible overlapping memory copying

master
Thomas Schmitt 7 years ago
parent d5c18dcbbf
commit d29e67fa93
  1. 3
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -2443,7 +2443,8 @@ int Xorriso_process_errfile(struct XorrisO *xorriso,
Xorriso_result(xorriso, 1);
return(1);
}
if(strcmp(xorriso->errfile_log, "-I")==0) {
if(strcmp(xorriso->errfile_log, "-I") == 0 &&
xorriso->info_text != msg_text) { /* (Beware of stepping on own foot) */
if(purpose==1)
sprintf(xorriso->info_text, "ERRFILE_MARK=%s %s\n",
msg_text, Ftimetxt(time(0), ttx, 1));

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.12.142649"
#define Xorriso_timestamP "2015.11.12.160620"

Loading…
Cancel
Save