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

Sanitize random seeds for mongo shell

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2020-01-13
    • 95

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: