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
/
abi.h
diff --git
a/include/lttng/abi.h
b/include/lttng/abi.h
index 02bcefaea5cf87abc686b821bd37351807f73666..f8af1dd04f8ce09f0cf5d3ffcb0e24dc594bb76e 100644
(file)
--- a/
include/lttng/abi.h
+++ b/
include/lttng/abi.h
@@
-325,7
+325,7
@@
struct lttng_kernel_abi_filter_bytecode {
uint32_t len;
uint32_t reloc_offset;
uint64_t seqnum;
uint32_t len;
uint32_t reloc_offset;
uint64_t seqnum;
- char data[
0
];
+ char data[];
} __attribute__((packed));
#define LTTNG_KERNEL_ABI_CAPTURE_BYTECODE_MAX_LEN 65536
} __attribute__((packed));
#define LTTNG_KERNEL_ABI_CAPTURE_BYTECODE_MAX_LEN 65536
@@
-333,7
+333,7
@@
struct lttng_kernel_abi_capture_bytecode {
uint32_t len;
uint32_t reloc_offset;
uint64_t seqnum;
uint32_t len;
uint32_t reloc_offset;
uint64_t seqnum;
- char data[
0
];
+ char data[];
} __attribute__((packed));
enum lttng_kernel_abi_tracker_type {
} __attribute__((packed));
enum lttng_kernel_abi_tracker_type {
This page took
0.024456 seconds
and
4
git commands to generate.