From 170aff247823c1a20e01607012b08a70f2ab7cd1 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Thu, 10 Jul 2014 11:46:20 +0200 Subject: coverity#1224982 out of bound Change-Id: Ibf5e6475b3bbfbb25e0204e3999674e59555eddf --- hwpfilter/source/hbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index ca1b2a9f9466..b22e9cf90ff4 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -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]; -- cgit