1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-16 02:28:05 -05:00
Simon Tatham 896bb7c74d Tighten up a lot of casts from unsigned to int which are read by one
of the GET_32BIT macros and then used as length fields. Missing bounds
checks against zero have been added, and also I've introduced a helper
function toint() which casts from unsigned to int in such a way as to
avoid C undefined behaviour, since I'm not sure I trust compilers any
more to do the obviously sensible thing.

[originally from svn r9918]
2013-07-14 10:45:54 +00:00
..
2012-09-18 21:42:48 +00:00
2012-09-18 21:42:48 +00:00