ecore_imf: Account for terminating null byte on copy
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 16 May 2014 11:54:54 +0000 (13:54 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 16 May 2014 11:54:54 +0000 (13:54 +0200)
commit2389d7f8eeefa3dbb83046e9faa4ef6400ca946f
tree163b474ec0b6e011dbb1a21b80dd76ad8bbdd562
parent6924e3010cbf60bcd7b999fe10bb8364e49297b7
ecore_imf: Account for terminating null byte on copy

strlen retruns the count with the terminating null byte but strncpy expects
length with it. Account for that.
src/modules/ecore_imf/scim/scim_imcontext.cpp