Prevented a potential corruption in case of memory shortage. Coverity CID 28800.
This commit is contained in:
parent
9200638a62
commit
7ae48207c7
@ -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…
Reference in New Issue
Block a user