Skip to content

Commit

Permalink
Make PVS happy
Browse files Browse the repository at this point in the history
  • Loading branch information
skotopes committed Oct 31, 2024
1 parent f7d34e7 commit 40a8ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/system/js_app/modules/js_gui/text_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static bool default_text_assign(
context->buffer = realloc(context->buffer, context->buffer_size); //-V701
}
// Also trim excess previous data with strlcpy()
strlcpy(context->buffer, value.string, context->buffer_size);
strlcpy(context->buffer, value.string, context->buffer_size); //-V575
text_input_set_result_callback(
input,
(TextInputCallback)input_callback,
Expand Down

0 comments on commit 40a8ab8

Please sign in to comment.