ecore_imf: Avoid potential buffer overrun
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 16 May 2014 11:52:26 +0000 (13:52 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 16 May 2014 11:52:26 +0000 (13:52 +0200)
commit6924e3010cbf60bcd7b999fe10bb8364e49297b7
treea8c736ac0ed3e458d1843cd9a9799c0a0a350b24
parentddc09dd04ec56facc494760a381dc5a429d8c699
ecore_imf: Avoid potential buffer overrun

We can't just blindly copy the full string into a 128 byte buffer. Adding
some check here to actually stay below the buffer limit or return.

CID 1193233
src/modules/ecore_imf/scim/scim_imcontext.cpp