cvs commit: src/sys/kern tty.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 16 19:45:24 PDT 2004


dillon      2004/05/16 19:44:31 PDT

DragonFly src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  Fix another race in ^T.  ttyprintf() can block, during which time the
  pointers passed to it may become invalid.  An interrupt can unblock a
  process making the p_wmesg (p_thread->td_wmesg) reference either invalid
  or cause it to return NULL in between the check and the ttyprintf().
  
  Revision  Changes    Path
  1.10      +29 -7     src/sys/kern/tty.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.9&r2=1.10&f=h





More information about the Commits mailing list