Skip to content

Commit

Permalink
Fix out of bounds write
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jul 21, 2023
1 parent c5e65ca commit 691e6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/carla/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const char *get_carla_bin_path(void)
memcpy(mpath, utilspath, utilslen);
memcpy(mpath + utilslen, CARLA_OS_SEP_STR "carla-discovery-native", 24);
#ifdef _WIN32
memcpy(mpath + utilslen + 24, ".exe", 5);
memcpy(mpath + utilslen + 23, ".exe", 5);
#endif

if (os_file_exists(mpath)) {
Expand Down

0 comments on commit 691e6df

Please sign in to comment.