]> git.sur5r.net Git - openldap/commitdiff
Revert prev commit, unnecessary
authorHoward Chu <hyc@openldap.org>
Mon, 23 Apr 2007 14:27:07 +0000 (14:27 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 23 Apr 2007 14:27:07 +0000 (14:27 +0000)
libraries/libldap/cyrus.c

index 4ff9e8f04ac87c91931332e0858d88c7ab061874..5e413c2451873f12ecf5d7fa0441752940a3a4ba 100644 (file)
@@ -208,7 +208,7 @@ sb_sasl_pkt_length( const unsigned char *buf, int debuglevel )
                | 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 "