GNOME Bugzilla – Bug 541645
gtkfilechooserdefault segfaults when bookmark does not contain ://
Last modified: 2009-02-24 06:38:04 UTC
Steps to reproduce: 1. edit .gtk-bookmarks to contain a normal path without the :// . I already had a bookmark file like that, it only started crashing apps after upgrade to ubunty hard heron. 2. open filechooser, for example, start evolution, compose new email, press "attach" Stack trace: (gdb) backtrace
+ Trace 202100
Other information: Slightly nicer handling of the result of strstr() in _gtk_file_chooser_label_for_uri would help. Obviously bookmarks are required to have proper URI, but if you had a file that contained a normal path a more graceful behaviour would be appreciated.
2008-07-06 Matthias Clasen <mclasen@redhat.com> Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not contain :// * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file): Be more robust. Reported by Jelte van der Hoek
$ dpkg -l|grep libgtk2.0 ii libgtk2.0-0 2.12.9-3ubuntu5 ii libgtk2.0-bin 2.12.9-3ubuntu5 ii libgtk2.0-cil 2.12.0-2ubuntu3 ii libgtk2.0-common 2.12.9-3ubuntu5 in this version the edit bookmarks dialog permits the user to add a new bookmark without checking that the position is standard url formatted. I think this bug should be reopened until that is fixed
*** Bug 551243 has been marked as a duplicate of this bug. ***
*** Bug 570719 has been marked as a duplicate of this bug. ***