rx-protect-queue-during-debug-20040601
authorRainer Toebbicke <rtb@pclella.cern.ch>
Wed, 2 Jun 2004 03:49:28 +0000 (03:49 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 2 Jun 2004 03:49:28 +0000 (03:49 +0000)
commit8d442bea4f760366b0c2bb2053e0ebf6ffa3d5c6
tree355403318e0d1da03b90a3fdcc1051f05a820d1f
parent3d66364e7255e7802760cad2d12ea90be7366584
rx-protect-queue-during-debug-20040601

FIXES 4811

"in rx_packet.c:rxi_ReceiveDebugPacket() the rx_idleServerQueue is
scanned without taking a lock first.

The queue_Remove macro zeroes the ->next field (luckily), but this can
lead to a crash when Murphy strikes and the entry gets removed during
the scan: queue_Scan will dereference 0x0 -> next.
"
src/rx/rx_packet.c