Presently, the "max" field that is passed to createCollection is not checked to be within bounds of long long representation prior to being converted to a long long. One fix for this is to use the safeNumberLong() function where we parse the value.
- is related to
-
SERVER-12813 Overflow when converting double values in user input to long long values
- Open