projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: bytecode interpreter context_get_index() leaves byte order uninitialized
[lttng-modules.git]
/
lttng-filter-interpreter.c
diff --git
a/lttng-filter-interpreter.c
b/lttng-filter-interpreter.c
index d9dc6195f2f78cf1d683b48e046be01e2383f124..821c12d3ba9679e5ae605ae5189a639529b8c5fd 100644
(file)
--- a/
lttng-filter-interpreter.c
+++ b/
lttng-filter-interpreter.c
@@
-290,6
+290,7
@@
static int context_get_index(struct lttng_probe_ctx *lttng_probe_ctx,
ptr->u.u64 = v.s64; /* Cast. */
ptr->ptr = &ptr->u.u64;
}
ptr->u.u64 = v.s64; /* Cast. */
ptr->ptr = &ptr->u.u64;
}
+ ptr->rev_bo = field->type.u.basic.integer.reverse_byte_order;
break;
case atype_enum:
{
break;
case atype_enum:
{
@@
-306,6
+307,7
@@
static int context_get_index(struct lttng_probe_ctx *lttng_probe_ctx,
ptr->u.u64 = v.s64; /* Cast. */
ptr->ptr = &ptr->u.u64;
}
ptr->u.u64 = v.s64; /* Cast. */
ptr->ptr = &ptr->u.u64;
}
+ ptr->rev_bo = itype->reverse_byte_order;
break;
}
case atype_array:
break;
}
case atype_array:
This page took
0.023983 seconds
and
4
git commands to generate.