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

Check for errors after calling bson_to_zval()

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

      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@mongodb.com Andreas Braun
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: