[frogr] Fix out of bounds write in static char array



commit 617cbf5d1d7bf8af5b3dcb0557ea1c6f7613d0c7
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Sat Oct 11 09:19:23 2014 +0100

    Fix out of bounds write in static char array

 src/frogr-controller.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-controller.c b/src/frogr-controller.c
index fa9cb50..7a53cce 100644
--- a/src/frogr-controller.c
+++ b/src/frogr-controller.c
@@ -1392,7 +1392,7 @@ _set_date_taken_as_posted_for_picture (FrogrController *self, UploadOnePictureDa
   GTimeVal picture_timeval;
   const gchar *picture_date_str = NULL;
   gchar *debug_msg = NULL;
-  gchar date_iso8601[20];
+  gchar date_iso8601[21];
 
   picture = uop_data->picture;
   picture_date_str = frogr_picture_get_datetime (picture);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]