Fix buffer overflow issue when the commit_preedit size is greater than 4096 bytes. 85/115285/4
authorInHong Han <inhong1.han@samsung.com>
Fri, 17 Feb 2017 07:09:13 +0000 (16:09 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Feb 2017 09:39:45 +0000 (01:39 -0800)
commiteaacb2c4dda0918367006c12242c2d8a7e525ba7
tree6c79cb17d7195706036b6a83b6e05ae14a1b2128
parentdca171f63761b5b0bfb48021a066739fb3de99e0
Fix buffer overflow issue when the commit_preedit size is greater than 4096 bytes.

The wayland protocol have limit of 4096 bytes if using string type argument.
So modified the maximum size of commit_preedit to 4000 bytes.
Change-Id: I81b080a4c2c6c8094cd970e9ba27453b6263fd62
ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp