The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a68d541011aff6231ce8d342942e2fe79ab8ec45
commit a68d541011aff6231ce8d342942e2fe79ab8ec45 Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-01-21 14:14:10 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-01-27 00:38:22 +0000 freebsd32_rusage_out(): bzero the compat32 structure (cherry picked from commit 6af3cf27ed0072f2dcb17380ab63228f9aa28708) --- sys/compat/freebsd32/freebsd32_misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 33b4872ba10f..d31bd1a65d93 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -203,6 +203,7 @@ void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32) { + bzero(s32, sizeof(*s32)); TV_CP(*s, *s32, ru_utime); TV_CP(*s, *s32, ru_stime); CP(*s, *s32, ru_maxrss);
