Home Home > GIT Browse > SLE12-SP3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Koutný <mkoutny@suse.com>2019-06-10 14:27:53 +0200
committerMichal Koutný <mkoutny@suse.com>2019-06-18 19:20:45 +0200
commitaac5a54d73af22ecaf33f2a307aef431e940ca49 (patch)
treef726ce8585077cb973e236d7a08714c33ee08de4
parent919e85b70d9f696069f7bf3fbdd68a6fc5cef622 (diff)
kernel/sys.c: prctl: fix false positive in validate_prctl_map()SLE12-SP3
(bsc#1137749). suse-commit: 94c3f8b187827bac2308dc9d2ca45620cf3735fd
-rw-r--r--kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index fc0ee4ec1084..2cbe5aa53ac8 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -1762,7 +1762,7 @@ static int validate_prctl_map(struct prctl_mm_map *prctl_map)
((unsigned long)prctl_map->__m1 __op \
(unsigned long)prctl_map->__m2) ? 0 : -EINVAL
error = __prctl_check_order(start_code, <, end_code);
- error |= __prctl_check_order(start_data, <, end_data);
+ error |= __prctl_check_order(start_data,<=, end_data);
error |= __prctl_check_order(start_brk, <=, brk);
error |= __prctl_check_order(arg_start, <=, arg_end);
error |= __prctl_check_order(env_start, <=, env_end);