commit | 88130f2e9e943a6e75babff87572b2e0ea18fc85 | [log] [tgz] |
---|---|---|
author | Nicholas Verne <nverne@chromium.org> | Tue May 22 05:14:48 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 22 05:14:48 2018 |
tree | 17089fea4a5346cb7570cf4e09ae7296d24ca678 | |
parent | 730d28c16612fb8e12522fee0ebda4df3d748bed [diff] |
Fixed a crash at the end of CrostiniInstall The crash happened when a CrostiniRestarter callback caused the modification of maps that were currently being iterated, invalidating assumptions of what can be safely erased. The safe fix is to erase from the maps first, saving the restarter objects into a temporary vector and then calling the callbacks from iterating the vector. Bug: 845227 Change-Id: I64296262d1881122ec89b0083c2f29b4ea354aa9 Reviewed-on: https://chromium-review.googlesource.com/1068301 Reviewed-by: Timothy Loh <timloh@chromium.org> Commit-Queue: Nicholas Verne <nverne@chromium.org> Cr-Commit-Position: refs/heads/master@{#560486}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .