GNOME Bugzilla – Bug 711583
NautilusFile: fix crash in modify_link_hash_table
Last modified: 2013-11-24 23:55:58 UTC
For some reason when connecting to my school's network storage via sftp, gio returns a file that is not a symlink but has the symlink_name property set (to "/"). This causes a crash in modify_link_hash_table, which assumes that if it has a symlink_name it must be a symlink. I guess this is clearly a bug in gio, which I'm still investigating, but it'd be nice to not crash.
Created attachment 259157 [details] [review] NautilusFile: fix crash in modify_link_hash_table We crash in g_hash_table_lookup_extended if the file's symlink_name is set but the file is not a symlink, since the hash function (g_str_hash) does not allow NULL values but target_uri is NULL.
(In reply to comment #0) > has the symlink_name property set (to "/"). That was inaccurate. Each file has the symlink_name set to itself. This is a Microsoft DFS; that's all I know.
Attachment 259157 [details] pushed as c2a5e05 - NautilusFile: fix crash in modify_link_hash_table