Bug fix: Size assessment of ISO images smaller than 32 KiB yielded random values

This commit is contained in:
Thomas Schmitt 2024-05-19 09:43:18 +02:00
parent d7eba30171
commit 5e79dc32e5
2 changed files with 6 additions and 1 deletions

View File

@ -1523,6 +1523,11 @@ int isoburn_emulate_toc(struct burn_drive *d, int flag)
ret= 1;
goto failure; /* This will represent the medium as single session */
}
if(!(lba < image_size || (flag&2))) {
/* Not enough readable space for chained session superblocks */
ret= 1;
goto failure;
}
}
while(lba<image_size || (flag&2)) {
now= time(NULL);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.05.19.074151"
#define Xorriso_timestamP "2024.05.19.074254"