Corrected a mistake made in rev 5542. Coverity CID 28636.

This commit is contained in:
Thomas Schmitt 2015-11-01 12:55:51 +00:00
parent d936cdb428
commit 8b907fe34d
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2015.11.01.102608"
#define Cdrskin_timestamP "2015.11.01.125502"

View File

@ -3020,7 +3020,7 @@ static int mmc_get_configuration_al(struct burn_drive *d, int *alloc_len)
{ret = 0; goto ex;}
if (len > 4096) {
/* MMC-5 6.6.2.1, Note 11: The maximum is less than 1 KB */
BURN_ALLOC_MEM_VOID(msg, char, 256);
BURN_ALLOC_MEM(msg, char, 256);
sprintf(msg, "Implausible length announcement from SCSI command GET CONFIGURATION: %d", *alloc_len);
libdax_msgs_submit(libdax_messenger, d->global_index,
0x000201a9,