-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Wyatt Hepler <[email protected]>
- Loading branch information
1 parent
7d7e7ad
commit 6ee3471
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters