Package: uim Version: 1:1.5.7-9 Severity: normal When in .XCompose file is defined character which not exist in current locale, uim crashes
for example, if I put <Multi_key> <plus> <plus> : "Г" numbersign # NUMBER SIGN (any cyrillic letter instead of Г also works) in .XCompose and run, for example, gedit with LANG=C, I get segmentation fault the problem seems in compose.c, function parse_compose_line in this fragment of code { char *result; result = g_locale_to_utf8(rhs_string_mb, -1, NULL, NULL, NULL); rhs_string_utf8 = strdup(result); g_free(result); } g_locale_to_utf8 returns NULL, if it cannot convert string from current locale to utf8, and on the next string we have strdup(NULL) -> segmentation fault I think there should be check of returned value. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages uim depends on: ii uim-common 1:1.5.7-9 Common files for uim ii uim-fep 1:1.5.7-9+b1 uim Front End Processor ii uim-gtk2.0 1:1.5.7-9+b1 GTK+2.x immodule for uim ii uim-utils 1:1.5.7-9+b1 Utilities for uim ii uim-xim 1:1.5.7-9+b1 A bridge between uim and XIM uim recommends no packages. uim suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org