Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45361

Sanitize random seeds for mongo shell

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2020-01-13
    • 95

      We use numberLong() instead of safeNumberLong() to get random seeds from shell users. This means the shell will crash if they pass in NaN, infinity, or the like.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: