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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: