commit | 6ee3471968fe4c5ae449ded5795c38515cb54704 | [log] [tgz] |
---|---|---|
author | Trinity Lundgren <trinit@google.com> | Fri Jun 10 23:02:05 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 13 16:35:41 2022 +0000 |
tree | 26698df4ceb48ee211cf8e82e3620b7f62ca4643 | |
parent | 7d7e7ad6223433f45af680f43ab4d75e23ad3257 [diff] |
pw_containers: Check that FlatMap it is not end() before dereferencing This bug results in asan errors when looking up keys that are larger than the max key in the flat map. Change-Id: Iad88f0138ff33b8b6f2ab6b10692ed7170d4fdfa Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/97801 Commit-Queue: Trinity Lundgren <trinit@google.com> Reviewed-by: Wyatt Hepler <hepler@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/