buffer overflow fix
Stefan Schuermans

Stefan Schuermans commited on 2012-04-28 10:48:40
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -54,7 +54,7 @@ static void menu_screen_start(void)
54 54
 /// switches screen
55 55
 static void menu_screen_switches(void)
56 56
 {
57
-  char buf[11];
57
+  char buf[12];
58 58
 
59 59
   buf[0] = switches_get_state(sw_0) ? '0' : ' ';
60 60
   buf[1] = switches_get_state(sw_1) ? '1' : ' ';
61 61