Reacted on compiler warning about theoretical overflow of an sprintf

This commit is contained in:
Thomas Schmitt 2017-09-16 12:51:59 +02:00
parent 2886b82bf0
commit 99e828c72f
2 changed files with 2 additions and 2 deletions

View File

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

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[80];
char msg[20 + 80]; /* filltext + profile */
sprintf(msg, "Finalizing %s ...",
d->current_profile_text);