Author: iratqq
Date: Sun Dec 14 12:14:28 2008
New Revision: 5670

Modified:
   trunk/uim/iconv.c

Log:
* uim/iconv.c (uim_iconv_code_conv):
  - Check instr == NULL case. enbuged in r5669.


Modified: trunk/uim/iconv.c
==============================================================================
--- trunk/uim/iconv.c   (original)
+++ trunk/uim/iconv.c   Sun Dec 14 12:14:28 2008
@@ -261,6 +261,9 @@
   if (UIM_CATCH_ERROR_BEGIN())
     return NULL;

+  if (!instr)
+    goto err;
+
   ins = strlen(instr);
   in = instr;

Reply via email to