commit | d4823569218198c5830f367b7f5b45eb743f3930 | [log] [tgz] |
---|---|---|
author | Robbie McElrath <rmcelrath@chromium.org> | Fri Mar 01 01:31:35 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 01 01:31:35 2019 |
tree | 1a1e5d25563f3fb0432dacec775f77d894e92d64 | |
parent | 0da11caeb8e20c78cdc11c6f48ef386a0d113b6e [diff] |
Fix URLLoaderFactory use-after-free in NetworkPortalDetectorImpl NetworkPortalDetectorImpl uses a raw pointer to the SystemNetworkContextManager's URLLoaderFactory, which will be invalid if mojo pipe runs into any issues. This CL makes it use a SahredURLLoaderFactory instead, which will handle failures automatically. Bug: 936625 Change-Id: I2ea71ef6cc46440f66349729e16cc2558ef145b1 Reviewed-on: https://chromium-review.googlesource.com/c/1495748 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Alexander Alekseev <alemate@chromium.org> Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> Cr-Commit-Position: refs/heads/master@{#636645}
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 .