cvs commit: src/sys/kern kern_subr.c uipc_syscalls.c

David P. Reese daver at
Wed Oct 15 01:44:21 PDT 2003

daver       2003/10/15 01:43:37 PDT

  Modified files:
    sys/kern             kern_subr.c uipc_syscalls.c 
  I wasn't properly checking for rollover in iovec_copyin().  Remove code
  that ineffectively checks for rollover by checking if a size_t was ever
  less than zero (duh).
  Add the proper error checking to kern_sendmsg() and kern_recvmsg() which
  recieve a uio structure that was populated with the aid of iovec_copyin().
  Revision  Changes    Path
  1.13      +1 -6      src/sys/kern/kern_subr.c
  1.20      +10 -0     src/sys/kern/uipc_syscalls.c

More information about the Commits mailing list