From 933e91405d9bb15b88b62d387ee24980690f6fc1 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 16 Nov 2015 10:22:50 +0000 Subject: [PATCH] Rev 5560 was not complete. Coverity CID 28764. --- xorriso/write_run.c | 3 ++- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xorriso/write_run.c b/xorriso/write_run.c index c8aef643..1b1b9aff 100644 --- a/xorriso/write_run.c +++ b/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; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 21d5fc4a..29402ac6 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.16.100618" +#define Xorriso_timestamP "2015.11.16.102246"