ldap/servers/slapd/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 590e2fb86ee2e1d6f169169c83917d18872a95d0 Author: Noriko Hosoi nhosoi@redhat.com Date: Thu Jul 14 10:33:15 2016 -0700
Bug 1347760 - CVE-2016-4992 389-ds-base: Information disclosure via repeated use of LDAP ADD operation, etc.
Description: Fixing a compiler warning.
diff --git a/ldap/servers/slapd/bind.c b/ldap/servers/slapd/bind.c index b441615..702d4c2 100644 --- a/ldap/servers/slapd/bind.c +++ b/ldap/servers/slapd/bind.c @@ -697,7 +697,7 @@ do_bind( Slapi_PBlock *pb ) sdn = pb_sdn; dn = slapi_sdn_get_dn(sdn); if (!dn) { - char *udn = slapi_sdn_get_udn(sdn); + const char *udn = slapi_sdn_get_udn(sdn); slapi_create_errormsg(errorbuf, sizeof(errorbuf), "Pre-bind plug-in set corrupted dn %s\n", udn?udn:""); slapi_pblock_set(pb, SLAPI_PB_RESULT_TEXT, errorbuf); send_ldap_result(pb, LDAP_OPERATIONS_ERROR, NULL, "", 0, NULL);
389-commits@lists.fedoraproject.org