simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Jun 20 07:24:18 BST 2017


TL;DR:
  20e36ae Fix a collection of type / format string mismatches.
  34389fe Merge further cppcheck fixes from Ilya Shipitsin.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-06-20 07:24:18

commit 20e36ae4a24e06f86ce533a24c5f61f00e2ab91c
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=20e36ae4a24e06f86ce533a24c5f61f00e2ab91c;hp=892d4a0188ffd8aa60dc11b4bace30dfb0f9d50e
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Jun 20 07:05:39 2017 +0100

    Fix a collection of type / format string mismatches.
    
    Ilya Shipitsin sent me a list of errors reported by a tool 'cppcheck',
    which I hadn't seen before, together with some fixes for things
    already taken off that list. This change picks out all the things from
    the remaining list that I could quickly identify as actual errors,
    which it turns out are all format-string goofs along the lines of
    using a %d with an unsigned int, or a %u with a signed int, or (in the
    cases in charset/utf8.c) an actual _size_ mismatch which could in
    principle have caused trouble on a big-endian target.

 charset/utf8.c   | 4 ++--
 import.c         | 3 ++-
 minibidi.c       | 2 +-
 misc.c           | 3 ++-
 pscp.c           | 2 +-
 terminal.c       | 2 +-
 windows/window.c | 4 ++--
 7 files changed, 11 insertions(+), 9 deletions(-)

commit 34389feaed6674e0f1cdd34bc836a4eed2babb58
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=34389feaed6674e0f1cdd34bc836a4eed2babb58;hp=20e36ae4a24e06f86ce533a24c5f61f00e2ab91c
Merge: 20e36ae 02043ec
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Jun 20 07:08:25 2017 +0100

    Merge further cppcheck fixes from Ilya Shipitsin.



More information about the tartarus-commits mailing list