Skip to content

Commit

Permalink
remove possible overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Sep 24, 2022
1 parent 6b055b4 commit 08bb1bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ else()
cmake_minimum_required(VERSION 3.18)
endif()

project(move-transition VERSION 2.6.2)
project(move-transition VERSION 2.6.3)
set(PROJECT_FULL_NAME "Move Transition")

# Set new UUIDs when you start to create a new plugin.
Expand Down
2 changes: 1 addition & 1 deletion buildspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@
}
},
"name": "move-transition",
"version": "2.6.2"
"version": "2.6.3"
}
4 changes: 2 additions & 2 deletions move-value-filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,8 +1539,8 @@ void move_value_tick(void *data, float seconds)
text[0] = '\0';
} else {
if (move_value->decimals >= 0) {
char format[10];
snprintf(format, 10, "%%.%df",
char format[20];
snprintf(format, 20, "%%.%df",
move_value->decimals);
snprintf(text, TEXT_BUFFER_SIZE, format,
value_double);
Expand Down

0 comments on commit 08bb1bb

Please sign in to comment.