[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible error in sftp_get_client_message
[Thread Prev] | [Thread Next]
- Subject: Possible error in sftp_get_client_message
- From: Игорь Коваленко <igor.a.kovalenko@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 06 May 2016 13:30:17 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Hello!
There is a code in sftp_get_client_message
case SSH_FXP_FSTAT:
rc = ssh_buffer_unpack(payload,
"Sd",
&msg->handle,
&msg->flags);
but according the documentation SSH_FXP_FSTAT has the following format:
uint32 id
string handle
so it seems that the correct code should be :
case SSH_FXP_FSTAT:
rc = ssh_buffer_unpack(payload,
"S",
&msg->handle);
Archive administrator: postmaster@lists.cynapses.org