Don't overwrite iso descriptors with new images on blank disc.

Doing so can cause the overwrite of valid filesystem info.
master
Vreixo Formoso Lopes 15 years ago
parent 2d974598a7
commit 33ef32b389
  1. 3
      src/isofs_wrap.c

@ -158,6 +158,9 @@ int isoburn_activate_session(struct burn_drive *drive)
if (o->emulation_mode != 1)
return 1; /* don't need to activate session */
if (o->fabricated_disc_status != BURN_DISC_APPENDABLE)
return 1;
ret = burn_random_access_write(drive, 0, (char*)o->target_iso_head, 64*2048, 0);
return ret;

Loading…
Cancel
Save