int size = 0;
int ret = 0;
- snprintf(xml_file_path, strlen(GESTURE_SHARED_RESOURCE_PATH) + 27, "%s/capi-ui-gesture-gdbus.xml", GESTURE_SHARED_RESOURCE_PATH);
+ snprintf(xml_file_path, 256, "%s/capi-ui-gesture-gdbus.xml", GESTURE_SHARED_RESOURCE_PATH);
ret = access(xml_file_path, R_OK);
if (0 != ret) {
LOGE("Introspection file is not exist. path(%s)", xml_file_path);