forked from pool/openldap2
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 "
|