Kaydet (Commit) 170aff24 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#1224982 out of bound

Change-Id: Ibf5e6475b3bbfbb25e0204e3999674e59555eddf
üst 73421a8f
......@@ -189,7 +189,7 @@ hchar_string DateCode::GetString()
cbuf[4] = 0;
break;
case '*':
strncat(cbuf, en_mon[date[MONTH] - 1], 256);
strncat(cbuf, en_mon[date[MONTH] - 1], 255);
break;
case '3': /* 'D' is day of korean */
num = date[DAY];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment