ext/ldap: Use "p" ZPP specifier for all strings that must be null terminated (#16091)

This commit is contained in:
Gina Peter Banyard 2024-09-28 00:15:34 +01:00 committed by GitHub
parent 181ea64cda
commit 332e9a47ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 60 deletions

View file

@ -255,7 +255,7 @@ try {
?>
--EXPECT--
ValueError: ldap_modify_batch(): Argument #2 ($dn) must not contain null bytes
ValueError: ldap_modify_batch(): Argument #2 ($dn) must not contain any null bytes
ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) must not be empty
ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) must be a list
ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) must be a list