find command should validate 1st parameter

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.5
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • Hide
      db.foo.runCommand({"find":1});
      
      Show
      db.foo.runCommand({"find":1});
    • Quint Iteration 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              David Storch
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: