[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible error in sftp_get_client_message


On Friday, 13 May 2016 11:16:28 CET Игорь Коваленко wrote:
> Hi!
> 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);

FYI: I've fixed that in master and v0-7 branch. Thanks for the report.


	Andreas

Archive administrator: postmaster@lists.cynapses.org