With -mount: Checking Xorriso_give_up_drive return value for error. Coverity CID 28712.
This commit is contained in:
parent
11f63d9867
commit
82a0234a91
@ -1142,7 +1142,7 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
|
|||||||
burn_drive_info_free(dinfo);
|
burn_drive_info_free(dinfo);
|
||||||
drive= NULL;
|
drive= NULL;
|
||||||
} else if(give_up > 0 && !((flag & 1) || (xorriso->mount_opts_flag & 1))) {
|
} else if(give_up > 0 && !((flag & 1) || (xorriso->mount_opts_flag & 1))) {
|
||||||
Xorriso_give_up_drive(xorriso, give_up);
|
ret= Xorriso_give_up_drive(xorriso, give_up);
|
||||||
if(ret <= 0)
|
if(ret <= 0)
|
||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.08.200543"
|
#define Xorriso_timestamP "2015.11.08.202957"
|
||||||
|
Loading…
Reference in New Issue
Block a user