shm: Zero struct kinfo_file in sysctl handler
Reported by: Calif.io in collaboration with Claude and Anthropic Research Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55806 (cherry picked from commit 25cc459286a02b646751541ccde5a33319471c73)
This commit is contained in:
parent
1b7687f053
commit
6348a5fd0d
1 changed files with 1 additions and 1 deletions
|
|
@ -2149,7 +2149,7 @@ sysctl_posix_shm_list(SYSCTL_HANDLER_ARGS)
|
|||
{
|
||||
struct shm_mapping *shmm;
|
||||
struct sbuf sb;
|
||||
struct kinfo_file kif;
|
||||
struct kinfo_file kif = {};
|
||||
u_long i;
|
||||
int error, error2;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue