Fix: procname context semantic
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index a464e88bfee2143e429273c646adabbf8aaa61bb..31955bb56d82b94a94a0d99886244353036a8f0a 100644 (file)
@@ -294,7 +294,7 @@ int handle_message(struct sock_info *sock_info,
                        goto error;
                }
 
-               if (lum->u.filter.reloc_offset > lum->u.filter.data_size - 1) {
+               if (lum->u.filter.reloc_offset > lum->u.filter.data_size) {
                        ERR("Filter reloc offset %u is not within data\n",
                                lum->u.filter.reloc_offset);
                        ret = -EINVAL;
@@ -952,6 +952,7 @@ void __attribute__((constructor)) lttng_ust_init(void)
        lttng_fixup_ringbuffer_tls();
        lttng_fixup_vtid_tls();
        lttng_fixup_nest_count_tls();
+       lttng_fixup_procname_tls();
 
        /*
         * We want precise control over the order in which we construct
This page took 0.025145 seconds and 4 git commands to generate.