git: cc166394dc63 - stable/13 - Fix the size returned for NT_FPREGSET.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 May 2022 22:56:34 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=cc166394dc63081a08453786bf7b30483400ec36 commit cc166394dc63081a08453786bf7b30483400ec36 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-03-04 01:53:06 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-12 22:12:59 +0000 Fix the size returned for NT_FPREGSET. Sponsored by: University of Cambridge, Google, Inc. (cherry picked from commit 0b25cbc79d384ab2b204ff389ea7df99e06a25e6) --- sys/kern/imgact_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index c72afb3c6a0b..419449262978 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -2255,7 +2255,7 @@ __elfN(get_fpregset)(struct regset *rs, struct thread *td, void *buf, fill_fpregs(td, fpregset); #endif } - *sizep = sizeof(fpregset); + *sizep = sizeof(*fpregset); return (true); }