projects
/
platform
/
core
/
uifw
/
isf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508dcfd
)
Fix Prevent issue for Dereference null return value
22/34122/1
author
Wonkeun Oh
<wonkeun.oh@samsung.com>
Mon, 15 Dec 2014 07:56:27 +0000
(16:56 +0900)
committer
Li Zhang
<li2012.zhang@samsung.com>
Wed, 21 Jan 2015 10:08:03 +0000
(18:08 +0800)
Change-Id: Ie866f3a4f92f82d6d1a40d61dda81847f6870fa9
ism/src/isf_query_engines.cpp
patch
|
blob
|
history
diff --git
a/ism/src/isf_query_engines.cpp
b/ism/src/isf_query_engines.cpp
index
20cf907
..
3b63ace
100644
(file)
--- a/
ism/src/isf_query_engines.cpp
+++ b/
ism/src/isf_query_engines.cpp
@@
-125,6
+125,9
@@
int main (int argc, char *argv[])
char *lang_str = vconf_get_str (VCONFKEY_LANGSET);
+ if (lang_str == NULL)
+ return 0;
+
if (strlen (lang_str)) {
setenv ("LANG", lang_str, 1);
setlocale (LC_MESSAGES, lang_str);