Browse Source

Rev 5560 was not complete. Coverity CID 28764.

master
Thomas Schmitt 7 years ago
parent
commit
933e91405d
  1. 3
      xorriso/write_run.c
  2. 2
      xorriso/xorriso_timestamp.h

3
xorriso/write_run.c

@ -478,7 +478,8 @@ int Xorriso_set_system_area(struct XorrisO *xorriso, struct burn_drive *drive,
system_area_options= 0;
} else if(xorriso->patch_system_area & 2) { /* isohybrid patching */
/* Check whether bytes 432-345 point to ElTorito LBA */
hd_lba= ub[432] | (ub[433] << 8) | (ub[434] << 16) | (ub[435] << 24);
hd_lba= ub[432] | (ub[433] << 8) | (ub[434] << 16) |
(((unsigned int) ub[435]) << 24);
ret= iso_image_get_boot_image(img, &bootimg, &bootimg_node, NULL);
if(ret != 1) {
system_area_options= 0;

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.16.100618"
#define Xorriso_timestamP "2015.11.16.102246"

Loading…
Cancel
Save