From ce45de9ea2a8577bc450766bb2830fadc4ecad8d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 20 Aug 2018 16:11:36 +0200 Subject: [PATCH] agent: Fix type of the buffer Signed-off-by: Andreas Schneider --- src/agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent.c b/src/agent.c index 114dadf1..bcde62aa 100644 --- a/src/agent.c +++ b/src/agent.c @@ -331,7 +331,7 @@ int ssh_agent_get_ident_count(struct ssh_session_struct *session) { ssh_buffer request = NULL; ssh_buffer reply = NULL; unsigned int type = 0; - uint8_t buf[4] = {0}; + uint32_t buf[1] = {0}; int rc; /* send message to the agent requesting the list of identities */