]> git.ipfire.org Git - thirdparty/valgrind.git/commit
FreeBSD syscall: harden sysctl kern.proc.pathname
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 3 Jul 2025 20:06:49 +0000 (22:06 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 3 Jul 2025 20:06:49 +0000 (22:06 +0200)
commit924c0eadf1a948292ff1eeab162f85a3b2da3eb0
tree92e0b1dd384c024c8a85d6a1ac5333e2591cd1c7
parentc56fbcb7c6e8c821be67c7e8d317116f5deff274
FreeBSD syscall: harden sysctl kern.proc.pathname

Add handling for NULL len pointer and not enough space
for path. Also extend the bug470713 with a few more checks.

Need to add some more inaccessible memory checks.
coregrind/m_syswrap/syswrap-freebsd.c
memcheck/tests/freebsd/bug470713.cpp
memcheck/tests/freebsd/bug470713.stdout.exp