Skip to content

Commit 20f5159

Browse files
committed
DESKTOP-O6FDU4U
1 parent 81662b7 commit 20f5159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cf-agent/verify_packages.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2743,7 +2743,7 @@ const size_t name_len = strlen(pi->name);
27432743
{
27442744
strcat(offset, "\"");
27452745
strcat(offset+1, pi->name);
2746-
strcat(offset+name_len, "\"");
2746+
strcat(offset+1+name_len, "\"");
27472747
}
27482748

27492749
PromiseResult result = PROMISE_RESULT_NOOP;
@@ -2804,7 +2804,7 @@ const size_t name_len = strlen(pi->name);
28042804
{
28052805
strcpy(offset, "\"");
28062806
strcpy(offset+1, pi->name);
2807-
strcpy(offset+name_len, "\"");
2807+
strcpy(offset+1+name_len, "\"");
28082808
}
28092809

28102810
strcat(command_string, " ");

0 commit comments

Comments
 (0)