You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a reland of commit ec3b59b
Instead of using a char[] array, changed to use a string literal to
avoid breaking due to buffer overflow when representing the
invalid UTF8 string. Verified that this passes the CQ asan bot.
Original change's description:
> Reland "[Fast Pair] Prevent invalid iterators when removing expired devices"
>
> This is a reland of commit 6b6ced5
> This change fixes the global buffer overflow by explicitly saying
> the test address bytes size is 6.
>
> Original change's description:
> > [Fast Pair] Prevent invalid iterators when removing expired devices
> >
> > When iterating over the list of devices, we want to also remove from
> > this list, however this can invalidate the iterator we are using to
> > parse over them. This change uses the classic approach of loop over
> > the map and collect the keys you want to remove in the vector, the
> > loop over the vector and removes them.
> >
> > tested on DUT that retroactive pairing and removing expired devices
> > works as expected.
> >
> > Test: Recreated the crash with unit tests and verified it works,
> > Fixed: b/266753250
> > Change-Id: If1e36070facf5d599b248d29ed944bc581668a05
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4195321
> > Reviewed-by: Daniel Classon <dclasson@google.com>
> > Commit-Queue: Juliet Lévesque <julietlevesque@google.com>
> > Cr-Commit-Position: refs/heads/main@{#1097185}
>
> Change-Id: I71be79695548f7caf930219196c49201bd35f064
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4197855
> Commit-Queue: Juliet Lévesque <julietlevesque@google.com>
> Reviewed-by: Daniel Classon <dclasson@google.com>
> Cr-Commit-Position: refs/heads/main@{#1097447}
(cherry picked from commit 4aadc25)
Change-Id: If223c3c3abdb6b47e9f92fa2fac4ff8fc5588e25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4198835
Reviewed-by: Daniel Classon <dclasson@google.com>
Commit-Queue: Juliet Lévesque <julietlevesque@google.com>
Cr-Original-Commit-Position: refs/heads/main@{#1097686}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4220260
Reviewed-by: Ryan Hansberry <hansberry@chromium.org>
Cr-Commit-Position: refs/branch-heads/5563@{#128}
Cr-Branched-From: 3ac59a6-refs/heads/main@{#1097615}
0 commit comments