projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: event probes attached before event enabled
[lttng-ust.git]
/
liblttng-ust
/
lttng-filter-validator.c
diff --git
a/liblttng-ust/lttng-filter-validator.c
b/liblttng-ust/lttng-filter-validator.c
index 92455c80a554766830dda045ccd5f73d76dc5b09..953bbdd7c8fb710364bb2c052fdcf9fbae752bd2 100644
(file)
--- a/
liblttng-ust/lttng-filter-validator.c
+++ b/
liblttng-ust/lttng-filter-validator.c
@@
-25,11
+25,14
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <urcu-bp.h>
+#include <stddef.h>
+#include <stdint.h>
#include <time.h>
#include <time.h>
-#include "lttng-filter.h"
+#include <urcu-bp.h>
#include <urcu/rculfhash.h>
#include <urcu/rculfhash.h>
+
+#include "lttng-filter.h"
#include "lttng-hash-helper.h"
#include "string-utils.h"
#include "lttng-hash-helper.h"
#include "string-utils.h"
@@
-507,6
+510,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;
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;
}
ret = validate_get_symbol(bytecode, sym);
break;
This page took
0.026812 seconds
and
4
git commands to generate.