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

"max" field of the createCollection command should be sanitized prior to being interpreted as a long long

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.1
    • Affects Version/s: None
    • Component/s: Catalog
    • Fully Compatible
    • ALL
    • Storage NYC 2018-07-02, Storage NYC 2018-07-16
    • 15

      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.

            Assignee:
            sean.tao Sean Tao
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: