Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-493

Client library _construct() can cause OOM fatal error

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

      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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            moderndeveloperllc Mark Garrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: