xorg-libx11/modules/im
Erkki Seppälä 1346b9ea3b ximcp/imLckup: Handle negative return value from _Xlcwctomb
Fixed by negative value to memcpy by checking for the negative return
value of _Xlcwctomb and returning 0/XLookupNone in that case.

a negative value was passed to memcpy

Unfortunately the other return values for *status don't fit into the
error (which appears to indicate some internal error or running out of
memory). The other valid status codes are XBufferOverflow,
XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of
these has a specific meaning attached.

Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-01 23:46:58 -08:00
..
ximcp ximcp/imLckup: Handle negative return value from _Xlcwctomb 2011-02-01 23:46:58 -08:00
Makefile.am Enable loadable i18n modules, making them configurable on the configure command line. 2005-07-11 08:29:18 +00:00