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

Recursive db.eval causes server crash with illegalInstruction message

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.0.7, 2.2.0-rc0, 2.2.0-rc2, 2.4.0-rc2
    • Component/s: JavaScript, Security, Stability
    • None
    • Storage Execution
    • ALL

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

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: