Page MenuHomeFreeBSD

KERN_PROC_VM_LAYOUT sysctl: fix bug in 32-bit-compatible path
ClosedPublic

Authored by karels on Jul 7 2023, 12:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 10 2024, 10:27 AM
Unknown Object (File)
Oct 8 2024, 8:15 AM
Unknown Object (File)
Oct 3 2024, 5:56 AM
Unknown Object (File)
Oct 1 2024, 1:53 PM
Unknown Object (File)
Oct 1 2024, 3:20 AM
Unknown Object (File)
Sep 23 2024, 9:36 PM
Unknown Object (File)
Sep 20 2024, 8:55 AM
Unknown Object (File)
Sep 17 2024, 6:56 AM
Subscribers

Details

Summary

vmspace_free() is called redundantly in the 32-bit-compatible
path in sysctl_kern_proc_vm_layout(), causing a premature free
(possibly for the current address space). Remove the extra call.

PR: 272401
Reported by: marklmi at yahoo.com

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable