-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.2.3, 4.3.3
-
Component/s: Replication
-
None
-
Minor Change
-
ALL
-
-
Security 2020-02-24
-
95
Some server parameters are backed by an AtomicWord<int> type. These types do not gracefully handle input values outside the range of representable int values when we try to coerce the arguments here. Our undefined behavior builders manifest this as a runtime error when trying to set a parameter to NaN, for example. See the attached repro for a few examples of server parameters with this issue. This may be a general issue for any numeric server parameters that do not use a BSONElement::safeNumberLong deserializer.
- causes
-
SERVER-51231 suspicious long long to double conversions in bounds checks
- Closed
- related to
-
SERVER-48076 implicit conversion from 'long long' to 'double' in oplog_stone_parameters_gen.cpp
- Closed
-
SERVER-48079 implicit conversion from 'long long' to 'double' in summation.cpp
- Closed