I just looked at the source.  A simple fix for this is just to add a
check if the text parameter is null before running strlen on it in
utilities.c:remove_white_spaces(const gchar* text).  Attached and pasted
just in case:

--- utilities.c 2007-04-07 18:10:22.000000000 +0200
***************
*** 915,920 ****
--- 915,922 ----
  gchar *
  remove_white_spaces (const gchar * text)
  {
+       // Simple check to see if text is null
+       if (!text) return text;
        guint src_count, dest_count, tab_count;
        gchar buff[2048];       /* Let us hope that it does not overflow */


** Attachment added: "diff with null check"
   http://librarian.launchpad.net/7213644/utilities.c.diff

-- 
[apport] anjuta crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/104063
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to