Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 2962173002: ProximityAuthWebUIHandler: use the same ExternalDeviceInfo vector across iterator usages. (Closed)

Created:
3 years, 5 months ago by Ryan Hansberry
Modified:
3 years, 5 months ago
Reviewers:
Tim Song
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, lesliewatkins+watch-tether_chromium.org, khorimoto+watch-tether_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ProximityAuthWebUIHandler: use the same ExternalDeviceInfo vector across iterator usages. This code was previously causing a crash because 3 separate vectors were being created, and iterators from each were being compared to each other. It seems that this went undetected for so long because people usually have 1 or 0 unlock keys -- this explains why the bug attached was observed on some accounts but not others. BUG=737649 Review-Url: https://codereview.chromium.org/2962173002 Cr-Commit-Position: refs/heads/master@{#483433} Committed: https://chromium.googlesource.com/chromium/src/+/7c3996033bfbba55546e24e8845d8f76e271ff27

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M components/proximity_auth/webui/proximity_auth_webui_handler.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
Ryan Hansberry
3 years, 5 months ago (2017-06-29 14:59:14 UTC) #3
Tim Song
lgtm
3 years, 5 months ago (2017-06-29 17:01:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2962173002/1
3 years, 5 months ago (2017-06-29 17:11:29 UTC) #6
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 18:29:49 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7c3996033bfbba55546e24e8845d...

Powered by Google App Engine
This is Rietveld 408576698