summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-10 11:46:20 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-10 22:11:27 +0200
commit170aff247823c1a20e01607012b08a70f2ab7cd1 (patch)
treeb3a71c9c5f21293e8a3b142eec31ce144ba78fed /hwpfilter
parent73421a8f09e44446605b92fcc28a54f57d50f5b5 (diff)
coverity#1224982 out of bound
Change-Id: Ibf5e6475b3bbfbb25e0204e3999674e59555eddf
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hbox.cxx2
1 files changed, 1 insertions, 1 deletions
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];