Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/HEAD'
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jun 11, 2024
2 parents a9bcafc + 1b5b7f5 commit 08b05e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static void parseConfigPartOfJson(const cJSON *config_array)
#if defined(OS_UNIX)
strcpy(buf, path->valuestring);
#else
strcpy_s(buf, size + 1, path->valuestring);
strcpy_s(buf, size, path->valuestring);
#endif
vec_config_path_t_push(&settings->config_paths, buf);
}
Expand Down

0 comments on commit 08b05e7

Please sign in to comment.