Reacted on compiler warning about theoretical overflow of an sprintf

This commit is contained in:
Thomas Schmitt 2017-09-16 11:50:35 +02:00
parent ef0d713b25
commit 2886b82bf0
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2017.09.13.075728"
#define Cdrskin_timestamP "2017.09.16.095011"

View File

@ -3668,7 +3668,7 @@ int mmc_format_unit(struct burn_drive *d, off_t size, int flag)
int accept_count = 0;
off_t num_of_blocks = 0, diff, format_size, i_size, format_00_max_size;
off_t min_size = -1, max_size = -1;
char *msg = NULL, descr[80];
char *msg = NULL, descr[80 + 10 + 22]; /* profile+filltext+index */
int key, asc, ascq;
int full_format_type = 0x00; /* Full Format (or 0x10 for DVD-RW ?) */