CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/05/07 11:27:25

Modified files:
        sys/nfs        : Tag: OPENBSD_7_8 nfs_serv.c 

Log message:
Add checks for invalid dir count and max size for readdir/readdirplus.

A zero count or max size value is now rejected early instead of
relying on VOP_GETATTR to return an error.  Also verify that the
max size after rounding up to a multiple of DIRBLKSIZ is positive.
A negative value would turn into a large allocation, causing the
malloc() to fail.

>From an LLM bug report.  With help from miod@ and kirill@.
from millert@

this is errata/7.8/035_nfs.patch.sig

Reply via email to