Browse Source

Bug fix: Appended partitions of size >= 4 GiB led to abort with error message "FATAL : ISO overwrite". Thanks to Sven Haardiek.

release-1.5.4.branch
Thomas Schmitt 4 years ago
parent
commit
5c1c5cd964
  1. 2
      libisofs/system_area.c

2
libisofs/system_area.c

@ -184,7 +184,7 @@ int iso_compute_append_partitions(Ecma119Image *t, int flag)
}
t->appended_part_size[i] = size;
pos += add_pos + size;
t->total_size += (add_pos + size) * 2048;
t->total_size += (((off_t) add_pos) + size) * 2048;
if (flag & 1)
t->curblock = pos;
}

Loading…
Cancel
Save