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

Write concern error without message results in null pointer access

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.15.1
    • Affects Version/s: 1.15.0
    • Component/s: None
    • None

      While adding the test described in PHPLIB-935, I discovered that a write concern error without an error message results in a null pointer access in the WriteConcernError class. As unlikely as the error is to appear in the wild, we should still guard against this.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: