Check for errors after calling bson_to_zval()

XMLWordPrintableJSON

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

      The extension does not always check for errors reported by bson_to_zval(), particularly when creating debug or info output for our core classes.

      All code that calls bson_to_zval() should check for an unsuccessful return code, which likely also means that an exception was thrown (per PHPC-345).

              Assignee:
              Andreas Braun
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: