mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Do not accept requests with msgid == 0
It is used internally to identify pinned operations and should not be encountered over the wire.
This commit is contained in:
parent
dfbf25d579
commit
dfbed44b3e
1 changed files with 4 additions and 0 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue