Zoey Greer 3a507b4e39 Bounds-check after arithmetic is complete
double_to_size can return std::numeric_limits<size_t>max(), so we cannot add 1 to the return value of double_to_size. That addition should be done while still working with a double, as can be seen being done on line 850 of this file.
This was uncovered by Coverity, and addresses Coverity issues CID13443 and CID12664
2014-12-08 16:38:38 -05:00
2013-05-22 21:48:29 +00:00
2014-06-16 22:43:54 +01:00
2014-12-03 18:28:40 +00:00
2014-01-26 13:44:38 +00:00
S
Description
Boost.org unordered module
BSL-1.0
29 MiB
Languages
C++ 99.5%
CMake 0.3%