tiv
2b2be3fb82
0030550: Coding - Integer overflow in Standard_CString HashCodes
...
0030551: Foundation Classes - Integer overflow in NCollection_CellFilter HashCode
Signed integers are not used in hash code functions now to prevent undefined behavior on left shift operations with signed integers.
A possibility of negative values of hash codes is eliminated.
INT_MAX → IntegerLast() in hash code functions.
All found hash code functions behaves uniformly now: they return a value in the range [1, theUpperBound]. Relevant comments are added to such functions.
2019-04-16 20:38:23 +03:00
..
2016-10-27 17:21:02 +03:00
2017-02-02 16:35:54 +03:00
2019-04-16 20:38:23 +03:00
2015-12-04 14:15:06 +03:00
2015-12-04 14:15:06 +03:00
2018-09-17 13:16:42 +03:00
2019-02-12 18:54:34 +03:00
2017-07-06 13:18:13 +03:00
2017-07-06 13:18:13 +03:00
2014-06-05 14:12:18 +04:00
2015-09-24 14:14:22 +03:00
2017-11-09 18:08:18 +03:00
2017-11-09 18:08:18 +03:00
2017-04-20 12:36:36 +03:00
2016-05-13 19:04:34 +03:00
2014-06-05 14:12:18 +04:00
2016-10-13 13:43:07 +03:00
2015-12-04 14:15:06 +03:00
2019-04-16 20:38:23 +03:00
2014-02-20 16:15:17 +04:00
2018-03-26 15:32:51 +03:00
2019-04-16 20:38:23 +03:00
2014-02-20 16:15:17 +04:00
2014-06-05 14:12:18 +04:00
2014-06-05 14:12:18 +04:00
2014-06-05 14:12:18 +04:00
2014-06-05 14:12:18 +04:00
2019-03-22 17:21:01 +03:00
2017-07-06 13:18:13 +03:00
2017-09-22 11:52:00 +03:00
2014-06-05 14:12:18 +04:00
2014-06-05 14:12:18 +04:00
2014-02-20 16:15:17 +04:00
2014-06-05 14:12:18 +04:00
2014-06-05 14:12:18 +04:00
2014-06-05 14:12:18 +04:00
2019-03-13 11:00:21 +03:00
2018-03-19 13:13:39 +03:00
2014-02-20 16:15:17 +04:00
2017-07-06 13:18:13 +03:00
2014-02-20 16:15:17 +04:00
2014-02-20 16:15:17 +04:00
2017-02-02 16:35:54 +03:00
2015-12-04 14:15:06 +03:00
2014-02-20 16:15:17 +04:00
2019-02-04 17:48:14 +03:00
2019-02-04 17:48:14 +03:00
2018-03-26 15:32:51 +03:00
2018-10-22 11:32:46 +03:00
2016-10-27 17:21:02 +03:00
2018-06-14 14:03:04 +03:00
2015-01-15 18:22:32 +03:00
2017-11-09 18:08:20 +03:00
2018-03-26 15:32:51 +03:00
2019-04-12 18:48:18 +03:00
2018-06-14 14:03:04 +03:00
2019-03-18 19:43:55 +03:00
2017-11-09 18:08:20 +03:00
2014-02-20 16:15:17 +04:00
2018-03-22 19:51:25 +03:00
2017-10-23 16:54:48 +03:00
2017-09-22 11:52:00 +03:00
2014-02-20 16:15:17 +04:00
2014-06-11 10:44:16 +04:00
2014-06-11 10:44:16 +04:00
2014-02-20 16:15:17 +04:00
2018-03-22 19:51:25 +03:00
2017-09-22 11:52:00 +03:00
2017-10-23 16:54:48 +03:00
2017-10-23 16:54:48 +03:00
2016-03-05 15:46:42 +03:00
2017-11-09 18:08:07 +03:00
2017-11-09 18:08:07 +03:00
2019-04-12 18:48:18 +03:00
2019-04-12 18:48:18 +03:00
2019-04-12 18:48:18 +03:00
2018-09-17 13:16:42 +03:00
2017-02-02 16:35:54 +03:00
2015-12-04 14:15:06 +03:00