! 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
Product:
Tumbler
Component:
General

Comments

Description Lionel Le Folgoc 2012-09-09 11:49:04 CEST
Created attachment 4619 
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?), Tumbler crashes in tumbler/tumbler-util.c, because vfs_schemes[n] is accessed directly without checking that vfs_schemes != NULL.

The attached patch add this check...
Thanks.

Bug #9276

Reported by:
Lionel Le Folgoc
Reported on: 2012-09-09
Last modified on: 2012-12-08

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
0.1.25

Attachments

Proposed patch (739 bytes, patch)
2012-09-09 11:49 CEST , Lionel Le Folgoc
no flags

Additional information