Validate that read preference tags is an array of documents

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.1.8
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should validate that a read preference tag set is an array of documents when applying URI options (i.e. php_phongo_apply_rp_options_to_uri()) and constructing a ReadPreference object.

      As mentioned in mongodb/mongo-php-driver#384, libmongoc may segfault when encountering unexpected BSON for the tag set.

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

                Created:
                Updated:
                Resolved: