Menu

#1300 chMsgSend missing rdymsg assignment causes spurious NULL return from chMsgWaitTimeoutS

21.11.5
open
None
RT
Low
21.11.4
True
2026-03-18
2026-03-18
No

chMsgSend wakes a receiver thread blocked in CH_STATE_WTMSG via chSchReadyI without first setting tp->u.rdymsg = MSG_OK. This leaves a stale value in rdymsg from a previous operation.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB