diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2016-05-11 18:01:08 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2017-06-07 18:49:56 +0200 |
commit | b0c2ca1b6621353dd7b573bb331e635efab9cc84 (patch) | |
tree | 6dfef1dfbf125727db52babc7f285c648635d2db /tests | |
parent | c50f2d135653466b09cc8b2a199ccbd473c3c860 (diff) | |
download | libssh-b0c2ca1b6621353dd7b573bb331e635efab9cc84.tar.gz libssh-b0c2ca1b6621353dd7b573bb331e635efab9cc84.tar.xz libssh-b0c2ca1b6621353dd7b573bb331e635efab9cc84.zip |
tests: fix buffer overflow in testcase
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client/torture_auth.c | 2 |
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); |