CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/09/27 04:46:48

Modified files:
        sys/kern       : Tag: OPENBSD_7_8 kern_sysctl.c 

Log message:
In sysctl KERN_PROC_ARGS "cnt" is an int, read directly from a userspace
process. The while loop has a "cnt > 0" check, but on 32-bit platforms a value
can overflow and result in the querying process having data written past the
supplied buffer. Limit the number of elements in the array to ARG_MAX.
from dgl@; OK deraadt@

this is errata/7.8/061_procargs.patch.sig

Reply via email to