simon-git: putty (master): putty.git

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Nov 19 07:31:15 GMT 2016


TL;DR:
  09b7497 Fix type mismatch in sftp_find_request

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      putty.git
Date:           2016-11-19 07:31:15

commit 09b74971c768b7d74484040ce155d117aff3f237
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=09b74971c768b7d74484040ce155d117aff3f237;hp=fa91b55eec241374d3eda4fbeac6f2dc372f1df2
Author: Tim Kosse <tim.kosse at filezilla-project.org>
Date:   Sat Nov 19 00:34:46 2016 +0100

    Fix type mismatch in sftp_find_request
    
    The id member of the sftp_request structure is of type unsigned int.
    This type is also used in the sftp_reqfind callback. In
    sftp_find_request we thus need to pass a pointer to unsigned int to
    find234. Before this commit, sftp_find_request was passing a pointer
    to unsigned long to find234, which causes the lookup to fail on
    big-endian platforms where sizeof(unsigned int) != sizeof(unsigned
    long), e.g. ppc64.

 sftp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list