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

PseudoRandom should check for invalid function parameters

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      These PseudoRandom functions are unsafe for parameter values of 0. It would be nice if they simply error'ed or assert'ed in some easy to diagnose manner.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: