Skip to content

Commit

Permalink
fix buffer overflow in runtime stats menu
Browse files Browse the repository at this point in the history
  • Loading branch information
TinkerGnome committed Apr 8, 2016
1 parent 2a4cd36 commit 93eed54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/UltiLCD2_menu_maintenance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ static void lcd_menu_advanced_stats()
{
lcd_info_screen(NULL, lcd_change_to_previous_menu, PSTR("Return"));
lcd_lib_draw_string_centerP(10, PSTR("Machine on for:"));
char buffer[16] = {0};
char buffer[24] = {0};
char* c = int_to_string(lifetime_minutes / 60, buffer, PSTR(":"));
if (lifetime_minutes % 60 < 10)
*c++ = '0';
Expand Down
2 changes: 1 addition & 1 deletion Marlin/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#############################

##Which version name are we appending to the final archive
export BUILD_NAME=16.03
export BUILD_NAME=16.03.1

#############################
# Actual build script
Expand Down

0 comments on commit 93eed54

Please sign in to comment.