Skip to content
Permalink
Browse files

Fix for bareos bug #0001072 (-Werror=format-security)

(cherry picked from commit 77dafb4)
  • Loading branch information
tuxmaster5000 authored and arogge committed Jul 14, 2019
1 parent 307a6cc commit 5220706f2b3dedcf5ba3fa06cf47f1b72bd386d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/tests/lib_tests.cc
@@ -165,7 +165,7 @@ static void do_get_name_from_hello_test(const char *client_string_fmt,
const BareosVersionNumber &version_test)
{
char bashed_client_name[20];
sprintf(bashed_client_name, client_name);
sprintf(bashed_client_name, "%s", client_name);
BashSpaces(bashed_client_name);

char output_text[64];

0 comments on commit 5220706

Please sign in to comment.
You can’t perform that action at this time.