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

bson_to_zval() leaks when buffer contains multiple documents

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-alpha1
    • Affects Version/s: 0.6.3
    • Component/s: None
    • None

      $bson1 = MongoDB\BSON\fromJSON('{"x": "y"}');
      $bson2 = MongoDB\BSON\fromJSON('{"a": "b"}');
      MongoDB\BSON\toArray($bson1.$bson2);
      

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: