Properly allocate v8 handles on the stack

XMLWordPrintableJSON

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

      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:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Ben Becker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: