projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: incorrect use of exclusions array leads to crash
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
lttng-ctl.cpp
diff --git
a/src/lib/lttng-ctl/lttng-ctl.cpp
b/src/lib/lttng-ctl/lttng-ctl.cpp
index 15a699e24f3fd63837edbc6b11dccfa3ac5b1a10..03ed2aa10a4459891018fe038b7a8cbdbaf50c75 100644
(file)
--- a/
src/lib/lttng-ctl/lttng-ctl.cpp
+++ b/
src/lib/lttng-ctl/lttng-ctl.cpp
@@
-1180,7
+1180,7
@@
int lttng_enable_event_with_exclusions(struct lttng_handle *handle,
serialize:
ret = lttng_event_serialize(ev,
exclusion_count,
serialize:
ret = lttng_event_serialize(ev,
exclusion_count,
-
exclusion_list
,
+
const_cast<const char **>(exclusion_list)
,
filter_expression,
bytecode_len,
(ctx && bytecode_len) ? &ctx->bytecode->b : nullptr,
filter_expression,
bytecode_len,
(ctx && bytecode_len) ? &ctx->bytecode->b : nullptr,
This page took
0.025495 seconds
and
4
git commands to generate.