GNOME Bugzilla – Bug 530220
SMB module uses NULL fallback MIME type
Last modified: 2018-08-17 13:53:07 UTC
The SMB module sets a GnomeVFSFileInfo's MIME type to NULL if it can not determine the MIME type from name, and sets the info's GNOME_VFS_FILE_INFO_FIELDS_MIME_TYPE to TRUE at the same time. Instead, it should fallback to GNOME_VFS_MIME_TYPE_UNKNOWN. This bug triggers the Nautilus crasher #522534.
Created attachment 109994 [details] [review] Proposed patch
For what it's worth, that patch looks good to me. I don't have gnome-vfs maintainer powers, though.
gnome-vfs got deprecated in 2008. gnome-vfs is not under active development anymore and had its last code changes in 2011. Its codebase has been archived: https://gitlab.gnome.org/Archive/gnome-vfs/commits/master gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!