Fix: lttng filter validator ERANGE error handling
[lttng-ust.git] / liblttng-ust / lttng-filter-validator.c
index 92455c80a554766830dda045ccd5f73d76dc5b09..acac7ce7fad52228d1488bddf8a5c4d378fd4189 100644 (file)
@@ -507,6 +507,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.022426 seconds and 4 git commands to generate.