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
/
sessiond-comm
/
sessiond-comm.h
diff --git
a/src/common/sessiond-comm/sessiond-comm.h
b/src/common/sessiond-comm/sessiond-comm.h
index f80c3e7c8dbdfd867dce80f14bb5205535c9a087..e327e014c078a5c8fcee6c7c7f366bc29549b7da 100644
(file)
--- a/
src/common/sessiond-comm/sessiond-comm.h
+++ b/
src/common/sessiond-comm/sessiond-comm.h
@@
-566,11
+566,11
@@
struct lttng_bytecode {
struct lttng_event_exclusion {
uint32_t count;
char padding[LTTNG_EVENT_EXCLUSION_PADDING];
struct lttng_event_exclusion {
uint32_t count;
char padding[LTTNG_EVENT_EXCLUSION_PADDING];
- char names[
0
][LTTNG_SYMBOL_NAME_LEN];
+ char names[][LTTNG_SYMBOL_NAME_LEN];
} LTTNG_PACKED;
#define LTTNG_EVENT_EXCLUSION_NAME_AT(_exclusion, _i) \
} LTTNG_PACKED;
#define LTTNG_EVENT_EXCLUSION_NAME_AT(_exclusion, _i) \
- (
&(_exclusion)->names[_i][0
])
+ (
(_exclusion)->names[_i
])
/*
* Listing command header.
/*
* Listing command header.
This page took
0.03548 seconds
and
4
git commands to generate.