commit | 6e9453de1be37ab16eb07df5f5381a853f5d5390 | [log] [tgz] |
---|---|---|
author | Keita Suzuki <suzukikeita@chromium.org> | Mon May 12 05:52:22 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 12 05:52:22 2025 |
tree | 0a71f92e680f5dcab1df4921b421f71bfb3ce232 | |
parent | d6c5caba207c736e54b1050f20dc66710e654df1 [diff] |
Postpone starting periodic ping until encrypter is initialized This CL delays starting the periodic pings for DSEPreconnect2 until the encrypter is initialized. Currently, we arm the periodic ping even on handshake frames. This may result in accessing a non-initialized field in the `QuicFramer::encrpter_`, as `QuicFramer::GetEncryptionLevelToSendApplicationData()` will return `NUM_ENCRYPTION_LEVELS`. This will result in an out-of-bounds access of the `encrypter_`, as it is initialized with size `NUM_ENCRYPTION_LEVELS`, and access to `encrpter_[NUM_ENCRYPTION_LEVELS]` would be undefined. Bug: 406022435, 416592068 Change-Id: I8830f5d05a4571c352ca87a8fe581fa934c76a3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6536147 Commit-Queue: Keita Suzuki <suzukikeita@chromium.org> Reviewed-by: Nidhi Jaju <nidhijaju@chromium.org> Cr-Commit-Position: refs/heads/main@{#1458670}
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.