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 e62426c705
commit 71ee6246a6
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;} {ret = 0; goto ex;}
if (len > 4096) { if (len > 4096) {
/* MMC-5 6.6.2.1, Note 11: The maximum is less than 1 KB */ /* 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); sprintf(msg, "Implausible length announcement from SCSI command GET CONFIGURATION: %d", *alloc_len);
libdax_msgs_submit(libdax_messenger, d->global_index, libdax_msgs_submit(libdax_messenger, d->global_index,
0x000201a9, 0x000201a9,