commit | 700f6409486c6f34f315d59b384e5207e885d36b | [log] [tgz] |
---|---|---|
author | Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no> | Tue Dec 19 09:22:11 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Dec 21 09:18:14 2023 +0100 |
tree | db741abbff22c1a0f885330a50a22bf56ca5c252 | |
parent | c0e6629b7bac4c7f4bd429d175b7671933fbdbf2 [diff] |
Bluetooth: ATT: Reject read-by-uuid rsp outside range A bad peer responding to read-by-uuid can return handles outside the requested range. This confuses the stack. In particular, the "continue" and "end" logic in the same function relies on this assumption. This bad peer was a real issue at UPF, and it caused an infinite loop during discovery. Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/50686 Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>