Prevented possible overlapping memory copying
This commit is contained in:
parent
d5c18dcbbf
commit
d29e67fa93
@ -2443,7 +2443,8 @@ int Xorriso_process_errfile(struct XorrisO *xorriso,
|
|||||||
Xorriso_result(xorriso, 1);
|
Xorriso_result(xorriso, 1);
|
||||||
return(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)
|
if(purpose==1)
|
||||||
sprintf(xorriso->info_text, "ERRFILE_MARK=%s %s\n",
|
sprintf(xorriso->info_text, "ERRFILE_MARK=%s %s\n",
|
||||||
msg_text, Ftimetxt(time(0), ttx, 1));
|
msg_text, Ftimetxt(time(0), ttx, 1));
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.12.142649"
|
#define Xorriso_timestamP "2015.11.12.160620"
|
||||||
|
Loading…
Reference in New Issue
Block a user