Skip to content

Commit 566a39f

Browse files
committed
addressed copilot review comments
1 parent 4341bf6 commit 566a39f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/client/client.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
#endif
3535
#include <wolfssl/wolfcrypt/settings.h>
3636

37+
#include <ctype.h>
38+
3739
#include <wolfssl/ssl.h>
3840

3941
#include <wolfclu/clu_header_main.h>

tests/client/client-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [ -f "$INJFILE" ]; then
4242
fi
4343

4444
# Command substitution: "$(touch clu_injection_probe.txt)" passed as peer
45-
./wolfssl s_client -connect '$(touch clu_injection_probe.txt):443' \
45+
./wolfssl s_client -connect 'evil$(touch clu_injection_probe.txt).com:443' \
4646
2>/dev/null
4747
if [ -f "$INJFILE" ]; then
4848
echo "SECURITY FAILURE: command injection via hostname (command substitution)"

0 commit comments

Comments
 (0)