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

Scope::createFunction does not remove invalid functions from cache, leading to segfault

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.7
    • 3.1.6
    • JavaScript
    • None
    • Fully Compatible
    • ALL
    • Platform 7 08/10/15

    Description

      When _createFunction fails to create a function, exceptions are not caught. This leads to a mismatch between the number of functions in the cache and the number actually created, which causes an invalid array access.

      This bug only affects SpiderMonkey and does not affect 3.0.x

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            j.delaney J Delaney
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: