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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.6
    • Fix Version/s: 3.1.7
    • Component/s: JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

            Assignee:
            jason.carey Jason Carey
            Reporter:
            j.delaney J Delaney
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: