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

Invoke runSafely for all external implscope methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.9, 4.0.4, 4.1.4
    • JavaScript
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Platforms 2018-09-24
    • 16

    Description

      Implscope provides a runSafely helper which wraps method calls and ensures that interruptions override other errors (amongst other features)

      We should extend that to all methods that are callable.

      _createFunction in particular is callable publically, which allows "method could not be called" to leak past interruption when parsing javascript for $where

      Attachments

        Issue Links

          Activity

            People

              jason.carey@mongodb.com Jason Carey
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: