Browse Source

Checking the return value of Xorriso_open_job_data_to(). Coverity CID 28705.

master
Thomas Schmitt 7 years ago
parent
commit
ac7155871f
  1. 4
      xorriso/read_run.c
  2. 2
      xorriso/xorriso_timestamp.h

4
xorriso/read_run.c

@ -1211,7 +1211,7 @@ int Xorriso_restore_tree(struct XorrisO *xorriso, IsoDir *dir,
IsoNode *node;
IsoDirIter *iter= NULL;
IsoNode **node_array= NULL;
int node_count, node_idx;
int node_count= 0, node_idx;
int ret, source_is_dir, fret, was_failure= 0;
int do_not_dive, source_is_split= 0, len_dp, len_ip, stbuf_ret, hflag, hret;
char *name, *disk_name, *leaf_name, *srcpt, *stbuf_src= "";
@ -1987,7 +1987,7 @@ int Xorriso_read_file_data(struct XorrisO *xorriso, IsoNode *node,
if(Sfile_str(job->data_to_path, disk_path, 0) <= 0)
{ret= -1; goto ex;}
Xorriso_open_job_data_to(xorriso, job, 0);
ret= Xorriso_open_job_data_to(xorriso, job, 0);
if(ret <= 0)
goto ex;

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.08.163431"
#define Xorriso_timestamP "2015.11.08.164013"

Loading…
Cancel
Save