Commit 2886b82b authored by Thomas Schmitt's avatar Thomas Schmitt

Reacted on compiler warning about theoretical overflow of an sprintf

parent ef0d713b
#define Cdrskin_timestamP "2017.09.13.075728"
#define Cdrskin_timestamP "2017.09.16.095011"
......@@ -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 ?) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment