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 validator: oops during validation of immediate string
[lttng-modules.git]
/
include
/
lttng
/
bytecode.h
diff --git
a/include/lttng/bytecode.h
b/include/lttng/bytecode.h
index 6bb20b8326554860d6d01255bcf4611c03e5892b..89f8d0fcfa88ce39191b200ac47acf2e317e0a08 100644
(file)
--- a/
include/lttng/bytecode.h
+++ b/
include/lttng/bytecode.h
@@
-40,10
+40,6
@@
struct literal_double {
double v;
} __attribute__((packed));
double v;
} __attribute__((packed));
-struct literal_string {
- char string[0];
-} __attribute__((packed));
-
enum bytecode_op {
BYTECODE_OP_UNKNOWN = 0,
enum bytecode_op {
BYTECODE_OP_UNKNOWN = 0,
@@
-196,7
+192,7
@@
typedef uint8_t bytecode_opcode_t;
struct load_op {
bytecode_opcode_t op;
struct load_op {
bytecode_opcode_t op;
- char data[
0
];
+ char data[];
/* data to load. Size known by enum filter_opcode and null-term char. */
} __attribute__((packed));
/* data to load. Size known by enum filter_opcode and null-term char. */
} __attribute__((packed));
This page took
0.024179 seconds
and
4
git commands to generate.