Bug fix: Ticket 149, one byte overflow of local variable.

master
Thomas Schmitt 14 years ago
parent d47a1702a7
commit 7981c59a7c
  1. 2
      xorriso/xorriso.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -430,7 +430,7 @@ int Sfile_scale(double value, char *result, int siz, double thresh, int flag)
bit2= no fraction (if it would fit at all)
*/
{
char scale_c,scales[6],form[80], *negpt= NULL, *cpt;
char scale_c,scales[7],form[80], *negpt= NULL, *cpt;
int i,dec_siz= 0,avail_siz= 1;
if(value<0) {

@ -1 +1 @@
#define Xorriso_timestamP "2009.06.30.120311"
#define Xorriso_timestamP "2009.06.30.154606"

Loading…
Cancel
Save