[Bug 297512] kern.proc.env sysctl fails with ENOMEM when last env string is near the end of the stack mapping; breaks ConsoleKit2 session lookup and GNOME screen unlock

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297512

--- Comment #6 from [email protected] ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=c9b5dd2eb8200eb9be6795fd2b0774991d85e1ef

commit c9b5dd2eb8200eb9be6795fd2b0774991d85e1ef
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-08-14 05:23:22 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:18 +0000

    kern/kern_proc.c: do not throw out read data in get_ps_strings()

    PR:     297512

    (cherry picked from commit f6000e9dd934db9fefc31eaa07a7d8fa9277484e)

 sys/kern/kern_proc.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.