From 0303a556bb10efaf058901baba524809da111805 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Fri, 10 Jan 2020 22:30:25 +0100 Subject: [PATCH] cam_menu.cpp: increase destination array to avoid possible truncation Signed-off-by: MarkusVolk Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6cdfd5c37a763aa97af0be5cb545c9e90165e1b1 Author: Markus Volk Date: 2020-01-10 (Fri, 10 Jan 2020) ------------------ This commit was generated by Migit --- src/gui/cam_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/cam_menu.cpp b/src/gui/cam_menu.cpp index 94d47b883..70616cad2 100644 --- a/src/gui/cam_menu.cpp +++ b/src/gui/cam_menu.cpp @@ -280,7 +280,7 @@ void CCAMMenuHandler::hideHintBox(void) int CCAMMenuHandler::handleCamMsg(const neutrino_msg_t msg, neutrino_msg_data_t data, int &msgret, bool from_menu) { - char str[255]; + char str[269]; char cnt[5]; int i; MMI_MENU_LIST_INFO Menu;