Commit dfbed44b authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

Do not accept requests with msgid == 0

It is used internally to identify pinned operations and should not be
encountered over the wire.
parent dfbf25d5
......@@ -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 ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment