projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: accept 65536 bytes long bytecodes
[lttng-ust.git]
/
liblttng-ust
/
lttng-filter.c
diff --git
a/liblttng-ust/lttng-filter.c
b/liblttng-ust/lttng-filter.c
index 369e73aa0ade218959ce2e9185d638be29d33c50..68a5931158140ec735fb67ccacee9a71958407bb 100644
(file)
--- a/
liblttng-ust/lttng-filter.c
+++ b/
liblttng-ust/lttng-filter.c
@@
-184,7
+184,7
@@
int apply_field_reloc(struct ltt_event *event,
return -EINVAL;
/* Check if field offset is too large for 16-bit offset */
- if (field_offset > FILTER_BYTECODE_MAX_LEN)
+ if (field_offset > FILTER_BYTECODE_MAX_LEN
- 1
)
return -EINVAL;
/* set type */
This page took
0.036103 seconds
and
4
git commands to generate.