Reacted on compiler warning about theoretical overflow of an sprintf

This commit is contained in:
Thomas Schmitt 2017-09-16 12:57:29 +02:00
parent 99e828c72f
commit b5b5cc1fb2
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2017.09.16.105142"
#define Cdrskin_timestamP "2017.09.16.105713"

View File

@ -1702,7 +1702,7 @@ int burn_disc_close_track_dvd_minus_r(struct burn_write_opts *o, int tnum)
int burn_disc_finalize_dvd_plus_r(struct burn_write_opts *o)
{
struct burn_drive *d = o->drive;
char msg[20 + 80]; /* filltext + profile */
char msg[40 + 80]; /* filltext + profile */
sprintf(msg, "Finalizing %s ...",
d->current_profile_text);