Corrected allocation length with GET CONFIGURATION
This commit is contained in:
parent
4b30530f52
commit
d385730ebd
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2009.11.05.170409"
|
||||
#define Cdrskin_timestamP "2009.11.08.120917"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user