commit | a290e56ade1ec45d850f0812c5a2a234017c68a4 | [log] [tgz] |
---|---|---|
author | Marie Janssen 💖 <jamuraa@google.com> | Thu Aug 20 20:35:55 2020 +0000 |
committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:58:23 2023 -0800 |
tree | 9613c95a735733e9b8e0e7496300963a5a0e226f | |
parent | b6408e058ef4bb412403296e140c6f03dacb68d7 [diff] |
[bt][acl] Ignore out of bounds completed packets When processing the number of completed packets, a larger number of packets than was actually included in the packet could be specified, causing data that was out of bounds to be accessed. Calculate the number of packets' worth of data and do not process for counts that are not provided. Fixed: 58592 Test: modified ACLDataChannelTest in bt-host-unittests to exercise Multiply: bt-host-unitests Change-Id: I72760c2af8a48dd3e8a3f791b43e2d0186e87583 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/418774 Commit-Queue: Marie Janssen 💖 <jamuraa@google.com> Reviewed-by: Ben Lawson <benlawson@google.com> Testability-Review: Ben Lawson <benlawson@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.