From: Ondřej Kuzník Date: Tue, 19 Nov 2019 18:21:55 +0000 (+0000) Subject: Do not accept requests with msgid == 0 X-Git-Tag: OPENLDAP_REL_ENG_2_5_1ALPHA~18^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dfbed44b3e427d87dd5d91978e334f14de9f526a;p=thirdparty%2Fopenldap.git Do not accept requests with msgid == 0 It is used internally to identify pinned operations and should not be encountered over the wire. --- diff --git a/servers/lloadd/operation.c b/servers/lloadd/operation.c index f959701c44..0fdc1f4c40 100644 --- a/servers/lloadd/operation.c +++ b/servers/lloadd/operation.c @@ -146,6 +146,10 @@ operation_init( LloadConnection *c, BerElement *ber ) goto fail; } + if ( !op->o_client_msgid ) { + goto fail; + } + CONNECTION_ASSERT_LOCKED(c); rc = tavl_insert( &c->c_ops, op, operation_client_cmp, avl_dup_error ); if ( rc ) {