[Bug 266036] valgrind reporting invalid read/write for setproctitle

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Aug 2022 20:02:22 UTC

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |kib@FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
Show the value of kern.ps_strings on your system.
I suspect that it would be just the address that is reported:

solo% printf "%x\n" $(sysctl -n kern.ps_strings)

In other words, this is how setproctitle(3) works: by modifying
ps_strings to point to other arguments strings.  ps_strings is initialized
by kernel during image activation.

You are receiving this mail because:
You are the assignee for the bug.