aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2016-05-11 18:01:08 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2017-06-07 18:49:56 +0200
commitb0c2ca1b6621353dd7b573bb331e635efab9cc84 (patch)
tree6dfef1dfbf125727db52babc7f285c648635d2db
parentc50f2d135653466b09cc8b2a199ccbd473c3c860 (diff)
downloadlibssh-b0c2ca1b6621353dd7b573bb331e635efab9cc84.tar.gz
libssh-b0c2ca1b6621353dd7b573bb331e635efab9cc84.tar.xz
libssh-b0c2ca1b6621353dd7b573bb331e635efab9cc84.zip
tests: fix buffer overflow in testcase
-rw-r--r--tests/client/torture_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c
index 96fceb77..673ba467 100644
--- a/tests/client/torture_auth.c
+++ b/tests/client/torture_auth.c
@@ -112,7 +112,7 @@ static int agent_setup(void **state)
assert_non_null(pwd);
snprintf(ssh_agent_sock,
- sizeof(ssh_agent_cmd),
+ sizeof(ssh_agent_sock),
"%s/agent.sock",
s->socket_dir);