! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Guard for NULL supported VFS schemes array
Status:
RESOLVED: FIXED

Comments

Description Lionel Le Folgoc 2012-08-18 14:37:40 CEST
Created attachment 4598 
Proposed patch

Hi,

If g_vfs_get_supported_uri_schemes() returns NULL (e.g. GVfs not installed, or dbus issue, or maybe GVfs inhibited by GParted?), Thunar crashes in thunar/thunar-gio-extensions.c:252, because supported_schemes[n] is accessed directly without checking that supported_schemes != NULL.

The attached patch add this check...
Thanks.
Comment 1 Nick Schermer editbugs 2012-09-25 20:03:40 CEST
Applied in a34d540.
Comment 2 Nick Schermer editbugs 2012-10-29 22:36:14 CET
*** Bug 8758 has been marked as a duplicate of this bug. ***

Bug #9224

Reported by:
Lionel Le Folgoc
Reported on: 2012-08-18
Last modified on: 2012-10-29
Duplicates (1):
  • 8758 Thunar 1.3.2 segfaults on start with "i/o errors" dialog box.

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Proposed patch (470 bytes, patch)
2012-08-18 14:37 CEST , Lionel Le Folgoc
no flags

Additional information