From abe65bffc1c0218100529bc475035ad82ca870ff Mon Sep 17 00:00:00 2001 From: "hb.min" Date: Mon, 15 Jul 2013 14:19:05 +0900 Subject: [PATCH] Fix prevent issue Change-Id: I32fda9bdf16ecde5bf8557a9e3bc9c71e18f66b6 Signed-off-by: hb.min --- capi/src/privilege_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capi/src/privilege_info.c b/capi/src/privilege_info.c index 842b175..b32c80f 100644 --- a/capi/src/privilege_info.c +++ b/capi/src/privilege_info.c @@ -193,7 +193,7 @@ int privilege_info_get_group_name_string_id(const char *privilege_group, char ** int index = 0; TryReturn(privilege_group != NULL, PRVMGR_ERR_INVALID_PARAMETER, "[PRVMGR_ERR_INVALID_PARAMETER] privilege is NULL"); - for (index = 0; index < PRIVILEGE_NUM; index++) + for (index = 0; index < MAX_PRV_GROUP; index++) { if (strncmp(privilege_group_info_table[index].privilege_group, privilege_group, strlen(privilege_group)) == 0) { -- 2.7.4