cvs commit: src/sys/kern kern_xio.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 3 00:21:14 PST 2004


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





More information about the Commits mailing list