Reacting properly on failure to set hppa or alpha boot image. Coverity CID 28828, 28829.
This commit is contained in:
parent
d5a73dbfcf
commit
4359102cdc
@ -915,6 +915,8 @@ treatment_patch:;
|
||||
strncpy(parm, treatpt + 5, parm_len);
|
||||
parm[parm_len]= 0;
|
||||
ret= Xorriso_set_hppa_boot_parm(xorriso, eqpt + 1, parm, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
|
||||
} else if(strncmp(treatpt, "alpha_boot=", 11) == 0) {
|
||||
sprintf(eff_path, "-boot_image %s %s", formpt, treatpt);
|
||||
@ -922,6 +924,8 @@ treatment_patch:;
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
ret = Xorriso_set_alpha_boot(xorriso, treatpt + 11, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
|
||||
} else if(strncmp(treatpt, "boot_info_table=", 16)==0) {
|
||||
if(strcmp(treatpt + 16, "off") == 0)
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.06.194638"
|
||||
#define Xorriso_timestamP "2015.11.06.200320"
|
||||
|
Loading…
Reference in New Issue
Block a user