From 28417a02b7374308436b4d3f3b609cebb7cc88cf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 12 Aug 2021 17:39:27 +0200 Subject: [PATCH] Reduce size of path_config_append_file - too big - see warning configuration.c:3710:10: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 --- retroarch_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroarch_data.h b/retroarch_data.h index 559a4fba4a..893ba26bc5 100644 --- a/retroarch_data.h +++ b/retroarch_data.h @@ -2152,7 +2152,7 @@ struct rarch_state char path_content[PATH_MAX_LENGTH]; char path_libretro[PATH_MAX_LENGTH]; char path_config_file[PATH_MAX_LENGTH]; - char path_config_append_file[PATH_MAX_LENGTH]; + char path_config_append_file[256]; char path_core_options_file[PATH_MAX_LENGTH]; char dir_system[PATH_MAX_LENGTH]; char dir_savefile[PATH_MAX_LENGTH];