Prevented a potential corruption in case of memory shortage. Coverity CID 28800.

master
Thomas Schmitt 7 years ago
parent 9200638a62
commit 7ae48207c7
  1. 4
      xorriso/iso_manip.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -3478,10 +3478,10 @@ int Xorriso_findi_sorted(struct XorrisO *xorriso, struct FindjoB *job,
char *abs_path= NULL;
off_t mem_needed= 0;
Xorriso_alloc_meM(abs_path, char, SfileadrL);
array_job.start_path= NULL;
Xorriso_alloc_meM(abs_path, char, SfileadrL);
if(job->action == 14 || job->action == 17)
find_flag|= 4;
if(job->action>=9 && job->action<=13) { /* actions which have own findjobs */

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.04.155640"
#define Xorriso_timestamP "2015.11.06.092940"

Loading…
Cancel
Save