mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Fix tricky bug within packet decoding
This commit is contained in:
@@ -214,6 +214,7 @@ int ssh_packet_socket_callback(const void *data, size_t receivedlen, void *user)
|
||||
ssh_set_error(session, SSH_FATAL, "HMAC error");
|
||||
goto error;
|
||||
}
|
||||
processed += current_macsize;
|
||||
}
|
||||
|
||||
/* skip the size field which has been processed before */
|
||||
|
||||
Reference in New Issue
Block a user