[Tizen 6.0] Enable build with GCC 9.2 38/221638/2 submit/tizen/20200107.081520
authorchakradhar <v.pogiri@samsung.com>
Mon, 6 Jan 2020 11:25:52 +0000 (16:55 +0530)
committerchakradhar <v.pogiri@samsung.com>
Tue, 7 Jan 2020 04:07:48 +0000 (09:37 +0530)
Change-Id: I07f5542edb742e543c1e6fd9a31ebbb7718c1760

server/fido_asm_plugin_manager.c

index d8c4e9f..439c35f 100755 (executable)
@@ -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) {