Corrected flaws found by George Danchev with cpp

master
Thomas Schmitt 12 years ago
parent 963d139093
commit 9049784c1c
  1. 2
      xorriso/filters.c
  2. 2
      xorriso/opts_d_h.c
  3. 2
      xorriso/text_io.c
  4. 2
      xorriso/xorriso_timestamp.h

@ -398,7 +398,7 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
sprintf(xorriso->info_text,
"-set_filter: UID and EUID differ. Will not run external programs.");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0);
return(0);
ret= 0; goto ex;
}
#endif /* ! Xorriso_allow_extf_suiD */

@ -399,6 +399,8 @@ int Xorriso_option_errfile_log(struct XorrisO *xorriso,
sprintf(xorriso->info_text, "-errfile_log: Unknown mode %s",
Text_shellsafe(mode, sfe, 0));
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
if(fp != NULL)
fclose(fp);
return(0);
}

@ -106,7 +106,7 @@ get_single:;
l= strlen(cpt);
if(l >= linesize - base_length - 1) {
strncpy(linept, cpt, linesize - 1);
line[sizeof(line)-1]= 0;
line[linesize - 1]= 0;
sprintf(xorriso->info_text,"Input line too long !");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
goto new_empty;

@ -1 +1 @@
#define Xorriso_timestamP "2011.02.24.191908"
#define Xorriso_timestamP "2011.02.24.192029"

Loading…
Cancel
Save