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

Properly allocate v8 handles on the stack

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.3.2
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • ALL

      Function argument handles were sometimes allocated on the heap, but this is not legal. We need a better way of converting BSONObj arguments to v8 arguments. Initial thought was alloca() and the new placement operator, but this is not cross-platform.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: