Package: tea
Version: 7.0-1
Severity: grave
Tags: patch
Justification: renders package unusable


On my system g_getenv("LANG") returns 0, causing a segfault in
get_speller_modules_list [tea_spell.c:28] (called from reload_dicts
[tea_config.c:706]). The following patch fixes the segfault.

--- tea_spell.c 2004-11-29 12:09:22.000000000 +0100
+++ tea_spell.c 2005-04-06 17:14:51.000000000 +0200
@@ -34,7 +34,8 @@
   AspellConfig *config;
 
   config = new_aspell_config();
-  aspell_config_replace (config, "lang", default_lang); 
+       if (default_lang)
+                aspell_config_replace (config, "lang", default_lang); 
   aspell_config_replace (config, "encoding", "UTF-8"); 
 
   dlist = get_aspell_dict_info_list (config);


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.5
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages tea depends on:
ii  libaspell15            0.60.2+20050121-2 The GNU Aspell spell-checker runti
ii  libatk1.0-0            1.8.0-4           The ATK accessibility toolkit
ii  libc6                  2.3.2.ds1-20      GNU C Library: Shared libraries an
ii  libglib2.0-0           2.6.3-1           The GLib library of C routines
ii  libgtk2.0-0            2.6.2-4           The GTK+ graphical user interface 
ii  libpango1.0-0          1.8.1-1           Layout and rendering of internatio

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to