Prevent rpc::upconvertRequest() from moving duplicate field in $queryOptions to top-level

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Service Arch 2022-08-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The fuzzer can generate commands with the same field at the top-level and in the $queryOptions sub-object. Rpc::upconvertRequest() moves fields from the sub-object to the top-level, which later triggers an fassert due to there being duplicate fields. upconvertRequest() should throw ErrorCodes::InvalidOptions instead to prevent duplicate fields at the top-level.

              Assignee:
              Reo Kimura (Inactive)
              Reporter:
              Reo Kimura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: