mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
tests: fix buffer overflow in testcase
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user