summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-29 07:57:41 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-29 07:57:41 +0000
commitc7bf0ff14a7bb1e15c6303d87c729aa373a2b4a2 (patch)
treeac1f02d6223a453b47f89484840c4a6ddb421d41 /legacy/efreet
parent6f73a22a0307d91ab9ddd8a3cf9c318ef2a09e51 (diff)
segv-- on parsing garbage ini files.
SVN revision: 74542
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/src/lib/efreet_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/efreet/src/lib/efreet_ini.c b/legacy/efreet/src/lib/efreet_ini.c
index effc04839d..375fda1dc1 100644
--- a/legacy/efreet/src/lib/efreet_ini.c
+++ b/legacy/efreet/src/lib/efreet_ini.c
@@ -235,7 +235,7 @@ efreet_ini_parse(const char *file)
235 value_end++; 235 value_end++;
236 236
237 /* make sure we have a key. blank values are allowed */ 237 /* make sure we have a key. blank values are allowed */
238 if (key_end == 0) 238 if (key_end <= 0)
239 { 239 {
240 /* invalid file... */ 240 /* invalid file... */
241// INF("Invalid file (%s) (invalid key=value pair)", file); 241// INF("Invalid file (%s) (invalid key=value pair)", file);