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

Validate writeConcern.w

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3, 4.3.4
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Service Arch 2020-02-10
    • Linked BF Score:
      95

      Description

      We attempt to use numberInt() to load integers from the wire here and here. Both of these should be safeNumberLong() calls instead. The wNumNodes value should also be validated against the maximum amount of nodes in a replica set before it gets downcasted to int.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amirsaman.memaripour Amirsaman Memaripour
              Reporter:
              ben.caimano Benjamin Caimano (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: