diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2014-12-22 20:56:14 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2014-12-26 15:23:31 (GMT) |
commit | a9fae8ac1d952ffd3b54de6082f9729466101bb0 (patch) | |
tree | b8526293a999a44fcc52f80715bf045e92f5e0b1 /Source/cmNinjaUtilityTargetGenerator.cxx | |
parent | 1819d4ad1fb0016c20a46a0b66274b53d2b0f010 (diff) | |
download | CMake-a9fae8ac1d952ffd3b54de6082f9729466101bb0.zip CMake-a9fae8ac1d952ffd3b54de6082f9729466101bb0.tar.gz CMake-a9fae8ac1d952ffd3b54de6082f9729466101bb0.tar.bz2 |
CTest: Fix integer overflow when uploading huge files
When uploading files greater 2GB a cast to 'int' overflows, leading to a
bad alloc when passed to new. Also avoid floating point arithmetic when
integer calculations will work as well.
Reported-by: Justin Borodinsky <justin.borodinsky@gmail.com>
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
0 files changed, 0 insertions, 0 deletions