Cleanup: apply `include-what-you-use` guideline for `size_t`
[lttng-ust.git] / liblttng-ust / lttng-filter-validator.c
index 92455c80a554766830dda045ccd5f73d76dc5b09..49e2e43dc3d4d72817dbb96953209d198322fa8a 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <stddef.h>
 #include <urcu-bp.h>
 #include <time.h>
 #include "lttng-filter.h"
@@ -507,6 +508,7 @@ int bytecode_validate_overflow(struct bytecode_runtime *bytecode,
                if (unlikely(pc + sizeof(struct load_op) + sizeof(struct get_symbol)
                                > start_pc + bytecode->len)) {
                        ret = -ERANGE;
+                       break;
                }
                ret = validate_get_symbol(bytecode, sym);
                break;
This page took 0.02378 seconds and 4 git commands to generate.