From 4803e9ba67770b71239f3cfc65c901b5fa94d5a2 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 23 Apr 2007 14:27:07 +0000 Subject: [PATCH] Revert prev commit, unnecessary --- libraries/libldap/cyrus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 4ff9e8f04a..5e413c2451 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -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 " -- 2.39.5