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

Validate writeConcern.w

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2020-02-10

    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

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            lauren.lewis@mongodb.com Lauren Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: