projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: reloc offset validation error out on filters with no reloc table
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index a464e88bfee2143e429273c646adabbf8aaa61bb..efc6724f1b6510538e3a2d7063c1dc8093e02c6c 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-294,7
+294,7
@@
int handle_message(struct sock_info *sock_info,
goto error;
}
- if (lum->u.filter.reloc_offset > lum->u.filter.data_size
- 1
) {
+ if (lum->u.filter.reloc_offset > lum->u.filter.data_size) {
ERR("Filter reloc offset %u is not within data\n",
lum->u.filter.reloc_offset);
ret = -EINVAL;
This page took
0.023969 seconds
and
4
git commands to generate.