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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Query
    • Fully Compatible
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: