From 6a248847fad8b4a36c8eda48a2f9cae21f1d5df5 Mon Sep 17 00:00:00 2001 From: "srinivasa.m" Date: Mon, 13 Jan 2020 12:58:27 +0530 Subject: [PATCH] [Tizen 6.0] Enable build with GCC 9.2 Change-Id: If26ec6f7f7460c78caa8fd8c936081821390473f Signed-off-by: srinivasa.m --- server/fido_asm_plugin_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/fido_asm_plugin_manager.c b/server/fido_asm_plugin_manager.c index 439c35f..1c686d7 100755 --- a/server/fido_asm_plugin_manager.c +++ b/server/fido_asm_plugin_manager.c @@ -151,7 +151,7 @@ __load_plugins(char **plugin_path) if (conf_file_name != NULL) { char conf_file_name_full[128 + 256] = {0, }; /*TODO make safe size*/ - snprintf(conf_file_name_full, 128 + 256, "%s%s", *plugin_path, conf_file_name); + snprintf(conf_file_name_full, 127 + 255, "%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