Bug fix: -outdev holding an ISO filesystem could get attached wrong start LBA

This commit is contained in:
Thomas Schmitt 2024-03-19 10:02:06 +01:00
parent e6e93a9803
commit d24634af3d
2 changed files with 3 additions and 3 deletions

View File

@ -602,7 +602,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
{ret= -1; goto ex;}
}
if(start_lba >= 0)
isoburn_attach_start_lba(drive, lba, 0);
isoburn_attach_start_lba(drive, start_lba, 0);
}
if(!(flag&32))
Xorriso_toc(xorriso, 1 | 2 | 8);
@ -712,7 +712,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
iso_image_ref((IsoImage *) xorriso->in_volset_handle);
isoburn_attach_image(out_drive, xorriso->in_volset_handle);
if(start_lba >= 0)
isoburn_attach_start_lba(out_drive, ret, 0);
isoburn_attach_start_lba(out_drive, start_lba, 0);
}
Xorriso_process_msg_queues(xorriso,0);
isoburn_ropt_get_size_what(ropts, &size, &has_what);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.03.18.214311"
#define Xorriso_timestamP "2024.03.19.090146"