diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2016-05-11 18:01:08 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2016-09-09 14:27:48 +0200 |
commit | 634159c3d12860270545780d6667e202bd7b2d28 (patch) | |
tree | 82ed099baec7fac79317fa4d482ca51af6d012ba | |
parent | dbf72ffba2ad5b5694cd55aa1a7ca99053d20386 (diff) | |
download | libssh-634159c3d12860270545780d6667e202bd7b2d28.tar.gz libssh-634159c3d12860270545780d6667e202bd7b2d28.tar.xz libssh-634159c3d12860270545780d6667e202bd7b2d28.zip |
tests: fix buffer overflow in testcase
-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 8a23454e..320180d4 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); |