From 42b877cace3365449257a669427516d4529c587a Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 2 Jan 2013 06:21:43 +0000 Subject: [PATCH] efl: fix potential segv. SVN revision: 81972 --- src/lib/eet/eet_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c index 654c09a..09e7bb4 100644 --- a/src/lib/eet/eet_lib.c +++ b/src/lib/eet/eet_lib.c @@ -1431,7 +1431,7 @@ eet_map(Eina_File *file) } ef = eet_cache_find(path, eet_readers, eet_readers_num); - if (ef->readfp == file) goto done; + if (ef && ef->readfp == file) goto done; /* Allocate struct for eet file and have it zero'd out */ ef = eet_file_malloc(1); -- 2.7.4