Browse Source

Fixed memory error when overwriting boot image of loaded ISO. Caused by rev5386

master
Thomas Schmitt 7 years ago
parent
commit
05de6d6f60
  1. 2
      xorriso/write_run.c
  2. 2
      xorriso/xorriso_timestamp.h

2
xorriso/write_run.c

@ -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) {

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2014.12.29.142036"
#define Xorriso_timestamP "2015.02.04.113526"

Loading…
Cancel
Save