commit | 80e6cffcadd0c79b231a280ac583b288587fdb42 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Oct 21 10:16:29 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Tue Oct 27 11:30:31 2015 +0100 |
tree | 65f70962bf04d9da20663970cfc88730abb90bf9 | |
parent | 69994584c7731828d2709869697681b6ed50011d [diff] |
Fix potential heap corruption on Windows If len is large enough, when cast to an int it will be negative and then the test if( len > MAX_PATH - 3 ) will not behave as expected. Ref: IOTSSL-518 backport of 261faed725e29bd34abbf1f95df5fab43791f40c