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

MozJSImplscope must immediately check the return value of JS_NewRuntime

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc5
    • Affects Version/s: 3.2.0-rc4
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • ALL
    • Platform D (12/11/15)

      After some code motion, we're failing to check the return value of JS_NewRuntime until after several functions are called on it. This can lead to null pointer dereferences.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: