projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Report memory allocation failure when copying filter bytecode
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.c
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index 01969b2b9607579a72877318b27418cf4942502a..ed878f9b1fe412bee5b87614f810a2cdb0419cbf 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-1779,6
+1779,7
@@
static int _cmd_enable_event(struct ltt_session *session,
sizeof(struct lttng_filter_bytecode)
+ filter->len);
if (!filter_copy) {
+ ret = LTTNG_ERR_NOMEM;
goto error;
}
This page took
0.023939 seconds
and
4
git commands to generate.