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

Network layer should reject OP_COMMAND requests where "command name" wire protocol field doesn't match first element of command request object

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Networking
    • None
    • Query
    • Fully Compatible
    • ALL

    Description

      According to discussion at https://groups.google.com/forum/#!topic/mongodb-dev/tJMdvcpGq6Y, it seems as if the server dispatches OP_COMMAND requests based on the wire protocol "command name" field, but the network layer never verifies that the "command name" field matches the first element of the command request. This can yield confusing error messages in command execution (as exhibited by the thread above), and can possibly trip an assertion if any command implementations assert that the first field of the command request object is the expected command name.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: