Fixed memory error when overwriting boot image of loaded ISO. Caused by rev5386
This commit is contained in:
parent
4da24f1cae
commit
67c6efc245
@ -1060,13 +1060,13 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
|
||||
/* Activate, adjust or discard boot image */
|
||||
if(image!=NULL) {
|
||||
is_bootable= iso_image_get_boot_image(image, NULL, NULL, &bootcat_node);
|
||||
if(xorriso->boot_image_bin_path[0]) {
|
||||
ret= Xorriso_attach_boot_image(xorriso, xorriso->boot_count == 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
freshly_bootable= 1;
|
||||
}
|
||||
is_bootable= iso_image_get_boot_image(image, NULL, NULL, &bootcat_node);
|
||||
}
|
||||
if(image!=NULL && !(flag&1)) {
|
||||
if(xorriso->boot_count > 0 || freshly_bootable) {
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2014.12.29.142036"
|
||||
#define Xorriso_timestamP "2015.02.04.113526"
|
||||
|
Loading…
Reference in New Issue
Block a user