DragonFly BSD
DragonFly commits List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "David P. Reese" <daver@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 01:43:37 -0700 (PDT)

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

  Modified files:
    sys/kern             kern_subr.c uipc_syscalls.c 
  Log:
  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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]