From d57336e0be522e98c21a92ce1c3eb1cba886fd7f Mon Sep 17 00:00:00 2001 From: chakradhar Date: Mon, 6 Jan 2020 16:55:52 +0530 Subject: [PATCH] [Tizen 6.0] Enable build with GCC 9.2 Change-Id: I07f5542edb742e543c1e6fd9a31ebbb7718c1760 --- server/fido_asm_plugin_manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/fido_asm_plugin_manager.c b/server/fido_asm_plugin_manager.c index d8c4e9f..439c35f 100755 --- a/server/fido_asm_plugin_manager.c +++ b/server/fido_asm_plugin_manager.c @@ -149,9 +149,9 @@ __load_plugins(char **plugin_path) if (entry.d_type == DT_REG) { char *conf_file_name = entry.d_name; if (conf_file_name != NULL) { - char conf_file_name_full[128] = {0, }; + char conf_file_name_full[128 + 256] = {0, }; /*TODO make safe size*/ - snprintf(conf_file_name_full, 127, "%s%s", *plugin_path, conf_file_name); + snprintf(conf_file_name_full, 128 + 256, "%s%s", *plugin_path, conf_file_name); _INFO("Processing [%s]", conf_file_name_full); _fido_asm_proxy_t *asm_proxy = _parse_asm_conf_file(conf_file_name_full); if (asm_proxy != NULL) { -- 2.7.4