Corrected allocation length with GET CONFIGURATION

This commit is contained in:
Thomas Schmitt 2009-11-08 11:08:19 +00:00
parent 4b30530f52
commit d385730ebd
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2009.11.05.170409"
#define Cdrskin_timestamP "2009.11.08.120917"

View File

@ -2376,7 +2376,7 @@ static int mmc_get_configuration_al(struct burn_drive *d, int *alloc_len)
return 0;
}
old_alloc_len = *alloc_len;
*alloc_len = len = mmc_four_char_to_int(c.page->data);
*alloc_len = len = mmc_four_char_to_int(c.page->data) + 4;
if (len > old_alloc_len)
len = old_alloc_len;
if (len < 8 || len > 4096)