diff options
author | Jae-Yong Lee <jaeyong911.lee@samsung.com> | 2015-01-23 17:22:45 +0900 |
---|---|---|
committer | Jae-Yong Lee <jaeyong911.lee@samsung.com> | 2015-01-23 17:22:45 +0900 |
commit | 1fd4956a5d5a0f7fc514d62d4fae50ff96280ec5 (patch) | |
tree | d2ed09ec645b61ac44f28db303f2ded2bc127789 | |
parent | 24ec13559369c67d3b7564a2b43875cc17ce10ab (diff) | |
download | ise-engine-default-1fd4956a5d5a0f7fc514d62d4fae50ff96280ec5.tar.gz ise-engine-default-1fd4956a5d5a0f7fc514d62d4fae50ff96280ec5.tar.bz2 ise-engine-default-1fd4956a5d5a0f7fc514d62d4fae50ff96280ec5.zip |
Fix out-of-bounds access issue in prevent
Change-Id: I7e6e6e02ec4d6d09753e78f00e9d10060784d320
-rw-r--r-- | src/isf_default_imengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isf_default_imengine.cpp b/src/isf_default_imengine.cpp index 2a67a5c..866b4e3 100644 --- a/src/isf_default_imengine.cpp +++ b/src/isf_default_imengine.cpp @@ -187,7 +187,7 @@ DefaultInstance::DefaultInstance(DefaultFactory * factory, for (int i = 1; i < 10; ++i) { label[0] = '0' + i; - labels.push_back(utf8_mbstowcs(label)); + labels.push_back(utf8_mbstowcs(String(label))); } m_lookup_table.set_candidate_labels(labels); |