Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
php5.7720
php-CVE-2018-10548.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-CVE-2018-10548.patch of Package php5.7720
X-Git-Url: http://208.43.231.11:8000/?p=php-src.git;a=blobdiff_plain;f=ext%2Fldap%2Fldap.c;h=03ca03d3adee59787d58cd342d8f864c5d96252a;hp=8ab0fe072786e6f8d7dbd47b6a4897e81ce89ec3;hb=49782c54994ecca2ef2a061063bd5a7079c43527;hpb=cb981e39c29bda59897cfaf30cebbf534c27f47c Index: php-5.5.14/ext/ldap/ldap.c =================================================================== --- php-5.5.14.orig/ext/ldap/ldap.c 2018-05-04 09:35:29.785354950 +0200 +++ php-5.5.14/ext/ldap/ldap.c 2018-05-04 09:36:10.945932348 +0200 @@ -1007,7 +1007,11 @@ PHP_FUNCTION(ldap_get_entries) add_assoc_long(tmp1, "count", num_attrib); dn = ldap_get_dn(ldap, ldap_result_entry); - add_assoc_string(tmp1, "dn", dn, 1); + if (dn) { + add_assoc_string(tmp1, "dn", dn, 1); + } else { + add_assoc_null(tmp1, "dn"); + } #if (LDAP_API_VERSION > 2000) || HAVE_NSLDAP || HAVE_ORALDAP || WINDOWS ldap_memfree(dn); #else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor