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

Recursive db.eval causes server crash with illegalInstruction message

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.0.7, 2.2.0-rc0, 2.2.0-rc2, 2.4.0-rc2
    • JavaScript, Security, Stability
    • None
    • Storage Execution
    • ALL

    Description

      db.system.js.save({_id:"r", value:function() {return db.eval("return r()")}})
      db.eval("return r()")
      

      ...
      Illegal instruction
      
      

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: