Installed a test against non-zero msc1 on blank input drives

master
Thomas Schmitt 12 years ago
parent 452c9685e7
commit 508adfd2f4
  1. 10
      libisoburn/burn_wrap.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -1785,8 +1785,14 @@ not_found:;
} else if(adr_mode==3) {
o->fabricated_msc1= adr_num;
s= isoburn_disc_get_status(d);
if((flag & 1) && o->fabricated_msc1 >= 16
&& (s == BURN_DISC_FULL || s == BURN_DISC_APPENDABLE)) {
if(o->fabricated_msc1 > 0 && s != BURN_DISC_FULL
&& s != BURN_DISC_APPENDABLE) {
isoburn_msgs_submit(o, 0x00060000,
"Non-zero load offset given with blank input media",
0, "FAILURE", 0);
ret= 0; goto ex;
}
if((flag & 1) && o->fabricated_msc1 >= 16) {
/* adr_num is possibly 16 blocks too high */
ret= isoburn_read_iso_head(d, o->fabricated_msc1, &size,volid, 1|(1<<14));
if(ret==2)

@ -1 +1 @@
#define Xorriso_timestamP "2011.03.01.145125"
#define Xorriso_timestamP "2011.03.01.152159"

Loading…
Cancel
Save