Browse Source

Reacted on compiler warning about theoretical overflow of an sprintf

release-1.5.2.pl01
Thomas Schmitt 4 years ago
parent
commit
99e828c72f
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/write.c

2
cdrskin/cdrskin_timestamp.h

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

2
libburn/write.c

@ -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);

Loading…
Cancel
Save