Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1532

Return false when raising MONGOC_ERROR

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • 1.4.0
    • None
    • None

    Description

      There are some cases where we raise MONGOC_ERROR, without actually returning from the function, resulting in incorrect return values and probably incorrect behavior and maybe crashes.

      See https://github.com/mongodb/mongo-php-driver/pull/376#discussion_r78054370 for discussion

      Attachments

        Activity

          People

            bjori Hannes Magnusson
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: