You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ext/ldap: FixGH-16032 (Various NULL pointer dereferencements in ldap_modify_batch())
We check that the "attrib" and "modtype" keys are present in each array.
If not we throw a ValueError, in line with what other validation failure cases do.
ClosesGH-16057
if (_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_ATTRIB)) {
2573
+
has_attrib_key= true;
2570
2574
if (Z_TYPE_P(modinfo) !=IS_STRING) {
2571
2575
zend_type_error("%s(): Option \""LDAP_MODIFY_BATCH_ATTRIB"\" must be of type string, %s given", get_active_function_name(), zend_zval_type_name(modinfo));
zend_type_error("%s(): Option \""LDAP_MODIFY_BATCH_MODTYPE"\" must be of type int, %s given", get_active_function_name(), zend_zval_type_name(modinfo));
0 commit comments