projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: sessiond-comm: out of bounds access warning
[lttng-tools.git]
/
src
/
common
/
event.cpp
diff --git
a/src/common/event.cpp
b/src/common/event.cpp
index 601c6ac1fa5f1d2de8c13790102b97c994ab820c..9cef3e9b9189829be10ca8eea0c300ac8be4fb4f 100644
(file)
--- a/
src/common/event.cpp
+++ b/
src/common/event.cpp
@@
-319,8
+319,8
@@
static ssize_t lttng_event_exclusions_create_from_payload(
goto end;
}
goto end;
}
- ret = lttng_strncpy(
local_exclusions->names[i]
, string,
- sizeof(
local_exclusions->names[i]
));
+ ret = lttng_strncpy(
LTTNG_EVENT_EXCLUSION_NAME_AT(local_exclusions, i)
, string,
+ sizeof(
LTTNG_EVENT_EXCLUSION_NAME_AT(local_exclusions, i)
));
if (ret) {
ret = -1;
goto end;
if (ret) {
ret = -1;
goto end;
This page took
0.037827 seconds
and
4
git commands to generate.