bson_to_zval() leaks when buffer contains multiple documents

XMLWordPrintableJSON

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

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

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: