From 0b1cb03a258069ebea89cc74129eee73c1ca135c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 6 Aug 2012 08:55:28 +0000 Subject: [PATCH] prevent crash when realpath is null from setting a mount SVN revision: 74912 --- src/bin/e_fm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index ccaae2b79..6f5d1ba9f 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -1075,6 +1075,7 @@ e_fm2_path_set(Evas_Object *obj, const char *dev, const char *path) if ((m->volume->efm_mode != EFM_MODE_USING_HAL_MOUNT) && (!sd->mount->mounted)) return; } } + if (!sd->realpath) return; if (!sd->mount || sd->mount->mounted) {