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
..
2015-07-12 07:42:38 +03:00
2017-04-20 12:36:36 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2019-04-16 20:38:23 +03:00
2019-04-16 20:38:23 +03:00
2016-01-28 12:36:35 +03:00
2016-01-28 12:36:35 +03:00
2016-01-28 12:36:35 +03:00
2016-01-28 12:36:35 +03:00
2016-01-28 12:36:35 +03:00
2015-07-11 12:01:52 +03:00
2015-07-11 12:01:52 +03:00
2015-07-11 12:01:52 +03:00
2018-08-13 16:34:26 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-03-23 15:57:20 +03:00
2015-07-12 07:42:38 +03:00
2014-02-20 16:15:17 +04:00
2015-07-12 07:42:38 +03:00
2015-07-11 12:01:52 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2019-04-16 20:38:23 +03:00
2019-04-16 20:38:23 +03:00
2015-07-11 12:01:52 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2014-02-20 16:15:17 +04:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-03-23 15:57:20 +03:00
2015-07-12 07:42:38 +03:00
2014-02-20 16:15:17 +04:00
2018-06-14 14:03:09 +03:00
2015-07-12 07:42:38 +03:00
2019-03-31 23:39:50 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-04-20 12:36:36 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2018-07-13 15:06:05 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-04-20 12:36:36 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-04-20 12:36:36 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-04-20 12:36:36 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-04-20 12:36:36 +03:00
2015-07-12 07:42:38 +03:00
2015-07-12 07:42:38 +03:00
2017-03-23 15:57:20 +03:00
2015-07-12 07:42:38 +03:00