CVSROOT:        /cvs
Module name:    src
Changes by:     ste...@cvs.openbsd.org  2016/02/11 11:59:15

Modified files:
        sys/kern       : kern_subr.c 

Log message:
Make sure uiomove does not copy more than uio_resid bytes, as the manual
says. Move code belonging to diagnostics in the #ifdef DIAGNOSTIC part
and add a KASSERT that makes sure that we do not run beyond uio_iov.
Diff from Martin Natano.

Reply via email to