Bug fix: Appended partitions of size >= 4 GiB led to abort with error message "FATAL : ISO overwrite". Thanks to Sven Haardiek.
This commit is contained in:
parent
215280448f
commit
5c1c5cd964
@ -184,7 +184,7 @@ int iso_compute_append_partitions(Ecma119Image *t, int flag)
|
|||||||
}
|
}
|
||||||
t->appended_part_size[i] = size;
|
t->appended_part_size[i] = size;
|
||||||
pos += add_pos + size;
|
pos += add_pos + size;
|
||||||
t->total_size += (add_pos + size) * 2048;
|
t->total_size += (((off_t) add_pos) + size) * 2048;
|
||||||
if (flag & 1)
|
if (flag & 1)
|
||||||
t->curblock = pos;
|
t->curblock = pos;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user