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