-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
There is a slight bug in the token validation in check_header_response in context.c. The token as read from the message is now calculated as
token2 = msg[HEADER_REQ_ID_B0] | (msg[HEADER_REQ_ID_B1] << 8U) |
(msg[HEADER_REQ_ID_B1] << 16U) | (msg[HEADER_REQ_ID_B1] << 24U);
This should be
token2 = msg[HEADER_REQ_ID_B0] | (msg[HEADER_REQ_ID_B1] << 8U) |
(msg[HEADER_REQ_ID_B2] << 16U) | (msg[HEADER_REQ_ID_B3] << 24U);
This causes all request from token 256 on to fail. When changing the last two "B1"s to 'B2" and "B3" everything works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels