_umtx_op: fix robust lists after r367744
A copy-pasto left us copying in 24-bytes at the address of the rb pointer instead of the intended target. Reported by: sigsys@gmail.com Sighing: kevans
This commit is contained in:
parent
9cca0e7ee5
commit
27a9392d54
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367783
@ -3431,7 +3431,7 @@ umtx_copyin_robust_lists(const void *uaddr, size_t size,
|
||||
|
||||
if (size > sizeof(*rb))
|
||||
return (EINVAL);
|
||||
return (copyin(uaddr, &rb, size));
|
||||
return (copyin(uaddr, rb, size));
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user