| commit | 1a077aa66382eda41dc91b3061c90de482614a3b | [log] [tgz] |
|---|---|---|
| author | Marie Janssen 💖 <jamuraa@google.com> | Tue Jun 30 15:45:26 2020 +0000 |
| committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:58:19 2023 -0800 |
| tree | e5387fd4c776bccd6792f10af9200ff4ef6e10be | |
| parent | 38f33344445793f916c3687aaf2c15e458dbf7dc [diff] |
[bt][sdp] Fix assert on badly formed request ServiceAttributeRequest could complete it's parsing, but end up asserting because the Attribute ID List could be well formed but empty, and it was not checked for before reaching the ASSERT(valid()) at the end of the Parsing constructor. Fixed: 47066 Test: added to ServiceAttributeRequestParse, ServiceSearchAttributeParse Multiply: bt-host-unittests Change-Id: If8fbcdd2e4078acab66a1703f4536a7969652ebc Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/403370 Reviewed-by: Arman Uguray <armansito@google.com> Reviewed-by: Ani Ramakrishnan <aniramakri@google.com> Commit-Queue: Marie Janssen 💖 <jamuraa@google.com> Testability-Review: Ani Ramakrishnan <aniramakri@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/.