Skip to content

Commit

Permalink
Fix strcat size
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Sep 26, 2024
1 parent 8d139dd commit 71d37bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslSniffer/sslSnifferTest/snifftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ int main(int argc, char** argv)
}
if (port > 0) {
SNPRINTF(cmdLineArg, sizeof(filter), " and port %d", port);
XSTRNCAT(filter, cmdLineArg, sizeof(filter) - XSTRLEN(filter));
XSTRLCAT(filter, cmdLineArg, sizeof(filter));
}

#if defined(WOLFSSL_SNIFFER_KEYLOGFILE)
Expand Down

0 comments on commit 71d37bf

Please sign in to comment.