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

Check for errors after calling bson_to_zval()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 0.6.3
    • 1.7.0
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              andreas.braun@mongodb.com Andreas Braun
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: