Author: yamakenz
Date: Fri May 16 18:39:03 2008
New Revision: 5489
Modified:
trunk/uim/uim-custom.c
Log:
* uim/uim-custom.c
- (c_list_to_str): Fix unterminated string enbuged in r5453
Modified: trunk/uim/uim-custom.c
==============================================================================
--- trunk/uim/uim-custom.c (original)
+++ trunk/uim/uim-custom.c Fri May 16 18:39:03 2008
@@ -405,6 +405,7 @@
free(str);
}
buf = (char *)malloc(buf_size);
+ buf[0] = '\0';
for (bufp = buf, elem = list; *elem; elem++) {
if (elem != list) {