forked from jengelh/openldap2
5798d8fa39
- FATE#315028 remove memory limit for slapd - FATE#315415: LDAP compat packages required for older SLES versions For this reson following patches were applied: openldap-2.3.37-libldap-suid.diff openldap-2.3.37-libldap-ldapi_url.dif openldap-2.3.37-libldap-ntlm.diff openldap-2.3.37-libldap-gethostbyname_r.dif openldap-2.3.37-libldap-sasl-max-buff-size.dif openldap-2.3.37-libldap-utf8-ADcanonical.dif openldap-2.3.37-liblber-length-decoding.dif openldap-2.3.37-libldap-ld_defconn-ldap_free_connection.dif openldap-2.3.37-libldap-tls_chkhost-its6239.dif openldap-2.3.37-libldap-ssl.dif OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=106
18 lines
639 B
Plaintext
18 lines
639 B
Plaintext
Index: libraries/libldap/cyrus.c
|
|
===================================================================
|
|
RCS file: /repo/OpenLDAP/pkg/ldap/libraries/libldap/cyrus.c,v
|
|
retrieving revision 1.139
|
|
retrieving revision 1.140
|
|
diff -u -r1.139 -r1.140
|
|
--- libraries/libldap/cyrus.c 2 Jan 2007 19:00:58 -0000 1.139
|
|
+++ libraries/libldap/cyrus.c 23 Apr 2007 12:21:48 -0000 1.140
|
|
@@ -208,7 +208,7 @@
|
|
| buf[2] << 8
|
|
| buf[3];
|
|
|
|
- if ( size > SASL_MAX_BUFF_SIZE ) {
|
|
+ if ( size >= SASL_MAX_BUFF_SIZE ) {
|
|
/* somebody is trying to mess me up. */
|
|
ber_log_printf( LDAP_DEBUG_ANY, debuglevel,
|
|
"sb_sasl_pkt_length: received illegal packet length "
|