Skip to content
Commit 514ccabc authored by Siddharth Chandrasekaran's avatar Siddharth Chandrasekaran Committed by Stephanos Ioannidis
Browse files

mgmt/osdp: phy: Catch out-of-order SC packets and fail



During handshake, only certain types of secure block types (<= SCS_14)
are allowed. A rouge CP/PD can try to bypass the handshake by directly
sending a secure block type ahead of the sequence and gain a secure
channel. Fix this by adding a check in packet decode time.

Signed-off-by: default avatarSiddharth Chandrasekaran <sidcha.dev@gmail.com>
parent a233dea2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment