Fix: Accept bytecode of length 65536 bytes
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 318da741f8cca5060e76f41d87a2a68e121b21d0..730ac656ba199153fd663d825ea4058803b396ea 100644 (file)
@@ -2659,7 +2659,7 @@ skip_domain:
        {
                struct lttng_filter_bytecode *bytecode;
 
-               if (cmd_ctx->lsm->u.filter.bytecode_len > 65336) {
+               if (cmd_ctx->lsm->u.filter.bytecode_len > LTTNG_FILTER_MAX_LEN) {
                        ret = LTTNG_ERR_FILTER_INVAL;
                        goto error;
                }
This page took 0.025015 seconds and 4 git commands to generate.