commit | 4323a64e2cd6c2d19c13a413d89d1ac490b0fa32 | [log] [tgz] |
---|---|---|
author | Sergei Glazunov <glazunov@google.com> | Wed Mar 06 10:33:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 06 10:33:18 2024 |
tree | a0394a413edf3142cdf879d00747e0cdc57cf393 | |
parent | ab9aaac41a7aa5f090eee9d09687cf348a3e5062 [diff] |
[LUD] Use ThreadLocalRandomBitGenerator in RandomEvictionQuarantineBase On Windows, the deallocation hook may be executed after the BoringSSL thread-local state has been destroyed, which can lead to crashes. The change replaces calls to `base::RandGenerator`, which uses BoringSSL, with our own non-cryptographically secure PRNG. This PRNG is already used in the same hook and doesn't have this issue. Bug: 328129298 Change-Id: Ied965721fcc5957ccdfc91d73cf359235687bd0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5343960 Reviewed-by: Matthew Denton <mpdenton@chromium.org> Commit-Queue: Sergei Glazunov <glazunov@google.com> Cr-Commit-Position: refs/heads/main@{#1268948}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.