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

aggregation framework: disallow $where in $match

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.0-rc0
    • Component/s: Aggregation Framework
    • Labels:
    • Environment:
      linux x86-64
    • Operating System:
      ALL

      Description

      server gets a segfault when using $where operator in a pipeline, e.g.:

      db.blah.aggregate({$match: {$where: "return true;"}}) crashes the server.

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            robert.pintarelli Robert Pintarelli
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: