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

cvs commit: src/sys/kern kern_xio.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Apr 2004 00:20:10 -0800 (PST)

dillon      2004/04/03 00:20:10 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_xio.c 
  Log:
  Fix bugs in xio_copy_*().  We were not using the masked offset when
  calculation the number of bytes to copy from the first indexed page,
  leading to a negative 'n' calculation in situations that could be
  triggered with a ^C on programs using pipes (such as a buildworld).
  This almost universally resulted in a panic.
  
  Revision  Changes    Path
  1.4       +2 -2      src/sys/kern/kern_xio.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_xio.c.diff?r1=1.3&r2=1.4&f=h



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