Thursday, May 16, 2019

[389-commits] [389-ds-base] branch master updated: Ticket 50306 - Fix regression with maxbersize

This is an automated email from the git hooks/post-receive script.

mreynolds pushed a commit to branch master
in repository 389-ds-base.

The following commit(s) were added to refs/heads/master by this push:
new 26b9e1b Ticket 50306 - Fix regression with maxbersize
26b9e1b is described below

commit 26b9e1b01384b7e99daefe61d9688d1db4f1b8f5
Author: Mark Reynolds <mreynolds@redhat.com>
AuthorDate: Thu May 16 16:26:49 2019 -0400

Ticket 50306 - Fix regression with maxbersize

Description: When passing the max BER size to openldap we were using the wrong
integer type, and it caused it to not be enforced.

https://pagure.io/389-ds-base/issue/50306

Reviewed by: mreynolds(one line commit rule)
---
ldap/servers/slapd/daemon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap/servers/slapd/daemon.c b/ldap/servers/slapd/daemon.c
index 9e7d3e5..4d0902f 100644
--- a/ldap/servers/slapd/daemon.c
+++ b/ldap/servers/slapd/daemon.c
@@ -2372,7 +2372,7 @@ handle_new_connection(Connection_Table *ct, int tcps, PRFileDesc *pr_acceptfd, i
PRNetAddr from = {{0}};
PRFileDesc *pr_clonefd = NULL;
slapdFrontendConfig_t *fecfg = getFrontendConfig();
- int32_t maxbersize;
+ ber_len_t maxbersize;

if (newconn) {
*newconn = NULL;

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org

No comments:

Post a Comment