From 7981c59a7c1f6772b2919c26955e9d072986a318 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 30 Jun 2009 15:45:44 +0000 Subject: [PATCH] Bug fix: Ticket 149, one byte overflow of local variable. --- xorriso/xorriso.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/xorriso.c b/xorriso/xorriso.c index 57e449e5..f2547d32 100644 --- a/xorriso/xorriso.c +++ b/xorriso/xorriso.c @@ -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) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 34e45d2f..ae0ec58a 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.06.30.120311" +#define Xorriso_timestamP "2009.06.30.154606"