cvs commit: src/sys/kern tty.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 4 16:23:10 PDT 2004


dillon      2004/05/04 16:22:43 PDT

DragonFly src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  Fix an exit-race with ^T.  If a process is exiting it may be detached from
  its thread.  p_wmesg is actually p_thread->td_wmesg, so do not dereference
  p_wmesg unless a thread is still attached to the process!
  
  Reported-by: "Jonas Trollvik" <Jonas.Trollvik at xxxxxxxxx>
  
  Revision  Changes    Path
  1.9       +1 -0      src/sys/kern/tty.c


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





More information about the Commits mailing list