DragonFly commits List (threaded) for 2004-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern tty.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]