mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
sftpserver: Fix integer type in sftp_reply_data()
Fixes T188
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit b18acbdc7e)
This commit is contained in:
@@ -483,7 +483,7 @@ int sftp_reply_data(sftp_client_message msg, const void *data, int len) {
|
||||
ssh_string sftp_handle_alloc(sftp_session sftp, void *info) {
|
||||
ssh_string ret;
|
||||
uint32_t val;
|
||||
int i;
|
||||
uint32_t i;
|
||||
|
||||
if (sftp->handles == NULL) {
|
||||
sftp->handles = calloc(SFTP_HANDLES, sizeof(void *));
|
||||
|
||||
Reference in New Issue
Block a user