168112c
--- gdm/gui/simple-greeter/gdm-user.c.orig  2008-06-04 17:56:57.000000000 +0200
168112c
+++ gdm/gui/simple-greeter/gdm-user.c       2008-06-04 18:00:05.000000000 +0200
168112c
@@ -750,7 +750,8 @@
168112c
                 }
168112c
                 filesystem_type = g_file_info_get_attribute_string (file_info,
168112c
                                                                     G_FILE_ATTRIBUTE_FILESYSTEM_TYPE);
168112c
-                is_local = ((strcmp (filesystem_type, "nfs") != 0) &&
168112c
+                is_local = ((filesystem_type != NULL) &&
168112c
+                           (strcmp (filesystem_type, "nfs") != 0) &&
168112c
                             (strcmp (filesystem_type, "afs") != 0) &&
168112c
                             (strcmp (filesystem_type, "autofs") != 0) &&
168112c
                             (strcmp (filesystem_type, "unknown") != 0) &&
168112c