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

find command should validate 1st parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      db.foo.runCommand({"find":1});
      

      Show
      db.foo.runCommand({"find":1});
    • Sprint:
      Quint Iteration 5

      Description

      The first parameter (field name "find") is used to supply the namespace name. If you pass a non-string for this field, the server eventually masserts when it tries to acquire a read lock. Instead, it should validate the field type as it currently does for all the other fields to the find command.

        Attachments

          Activity

            People

            Assignee:
            david.storch David Storch
            Reporter:
            milkie Eric Milkie
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: