]> git.donarmstrong.com Git - qmk_firmware.git/commit
Don't accept remote objects with the wrong size
authorFred Sundvik <fsundvik@gmail.com>
Sun, 15 May 2016 08:58:20 +0000 (11:58 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Sun, 15 May 2016 08:58:20 +0000 (11:58 +0300)
commita08bcea9983cc97fb2f567c303622495f19a5a1e
treedf4144b4dae3755df0b70a5dfedc4610e45f6ef8
parent3b422d2ac4340ecea6b2fc2f3a855581c737faf8
Don't accept remote objects with the wrong size

Fixes memory corruption when the crc happens to match, but the size
doesn't.
serial_link/protocol/transport.c
serial_link/tests/transport_tests.c