-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
php_phongo_serverdescription_get_properties_hash() should return early if intern is uninitialized. After the call to
PHONGO_GET_PROPERTY_HASH_INIT_PROPS, there should be a check that intern->server_description is a non-zero pointer. See https://github.com/mongodb/mongo-php-driver/pull/1244#discussion_r683046524