summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-10-13 06:34:50 (GMT)
committerJehun Lim <jehun.lim@samsung.com>2015-10-13 08:05:29 (GMT)
commiteacd1b81ce08ba5da0ff14b99bfbef42fec4fd56 (patch)
tree30d4af5f697a0d5372f55a5aef79f8f573dc1f30
parent2e74661d4a5b7508c037028670dd32c412a6f478 (diff)
downloadair_mediahub-eacd1b81ce08ba5da0ff14b99bfbef42fec4fd56.zip
air_mediahub-eacd1b81ce08ba5da0ff14b99bfbef42fec4fd56.tar.gz
air_mediahub-eacd1b81ce08ba5da0ff14b99bfbef42fec4fd56.tar.bz2
folderdata: modify the value of error check (prevent: 486649, 486650)refs/changes/36/49436/1
Change-Id: Ic26e8ace418004cfe7a718497f5da4ae385805dc Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
-rw-r--r--src/data/folderdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/folderdata.c b/src/data/folderdata.c
index 201d7d7..339af9a 100644
--- a/src/data/folderdata.c
+++ b/src/data/folderdata.c
@@ -552,7 +552,7 @@ static Eina_List *_get_group(void *handle, int type, void *data)
return NULL;
}
- if (type < 0 || type > E_GROUP_FOLDER_MAX || !data) {
+ if (type < 0 || type >= E_GROUP_FOLDER_MAX || !data) {
_ERR("invalid argument");
return NULL;
}