_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:
Kyle Evans 2020-11-18 03:30:31 +00:00
parent 9cca0e7ee5
commit 27a9392d54
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367783

View File

@ -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