mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-28 00:10:41 +02:00
Bug 545457 – gdmsetup crashed with SIGSEGV in
2008-07-30 Matthias Clasen <mclasen@redhat.com> Bug 545457 – gdmsetup crashed with SIGSEGV in g_unix_mount_guess_should_display() * gunixvolumemonitor.c (get_mount_for_mount_path): Don't crash if no mount is found. svn path=/trunk/; revision=7274
This commit is contained in:
parent
274c2dc8c5
commit
4d23d2647a
@ -1,3 +1,11 @@
|
|||||||
|
2008-07-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 545457 – gdmsetup crashed with SIGSEGV in
|
||||||
|
g_unix_mount_guess_should_display()
|
||||||
|
|
||||||
|
* gunixvolumemonitor.c (get_mount_for_mount_path): Don't
|
||||||
|
crash if no mount is found.
|
||||||
|
|
||||||
2008-07-28 Matthias Clasen <mclasen@redhat.com>
|
2008-07-28 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 545203 – gfile.c: argument is different type.
|
Bug 545203 – gfile.c: argument is different type.
|
||||||
|
@ -150,7 +150,10 @@ get_mount_for_mount_path (const char *mount_path,
|
|||||||
GUnixMount *mount;
|
GUnixMount *mount;
|
||||||
|
|
||||||
mount_entry = g_unix_mount_at (mount_path, NULL);
|
mount_entry = g_unix_mount_at (mount_path, NULL);
|
||||||
|
|
||||||
|
if (!mount_entry)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
/* TODO: Set mountable volume? */
|
/* TODO: Set mountable volume? */
|
||||||
mount = _g_unix_mount_new (NULL, mount_entry, NULL);
|
mount = _g_unix_mount_new (NULL, mount_entry, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user