Client library _construct() can cause OOM fatal error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Blocker - P1
    • 1.1.2
    • Affects Version/s: 1.0.0
    • Component/s: None
    • None
    • Environment:
      OSX 10.11.1 Compiled mongodb lib from source
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For some reason the new Manager() call on line 32 will cause a memory link if empty $options and $driverOptions are passed.

      $this->manager = new Manager($uri, $options, $driverOptions); breaks

      $this->manager = new Manager($uri); works

        1. mongodbtest.zip
          5 kB
        2. phpinfo.html
          107 kB

              Assignee:
              Jeremy Mikola
              Reporter:
              Mark Garrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: