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

This commit is contained in:
Thomas Schmitt 2015-11-06 09:30:15 +00:00
parent 9200638a62
commit 7ae48207c7
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

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