summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-05 10:32:59 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-10 15:15:08 +0300
commitb29340b3a1d0bd2664fcdf31e4e1e877aea966f1 (patch)
treec93d39d75a113082371ca6205434602e3676a17e
parent49f0f09661cf11dc5c61291502a33fd027abd9b1 (diff)
Edje: check parameter validity
-rw-r--r--src/lib/edje/edje_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 97e00f90f3..4a522d83e5 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -357,6 +357,7 @@ _edje_object_language_set(Eo *obj, Edje *ed, const char *locale)
357 char *signal; 357 char *signal;
358 size_t length; 358 size_t length;
359 359
360 if (!locale) return;
360 lookup = strstr(locale, "."); 361 lookup = strstr(locale, ".");
361 length = lookup ? (size_t)(lookup - locale) : strlen(locale); 362 length = lookup ? (size_t)(lookup - locale) : strlen(locale);
362 363