commit | 7d0bb0fd876796ddca3d271f4c6699d8f7b10827 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris1000@users.noreply.github.com> | Thu Mar 28 17:35:46 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 28 17:41:59 2024 -0700 |
tree | e5dec3c480398c46a0935dab4c98ca94658afe09 | |
parent | 31a5ae7d3fb9f238fcf62074731b69915e1d2e64 [diff] |
[scudo] Fix stack depot validation. (#87024) In the StackDepot::isValid function, there is work to validate the TabMask variable. Unfortunately, if TabMask is set to the maximum allowed value, TabSize = TabMask + 1 becomes zero and validation passes. Disallow that case to prevent invalid reads into the Tab structure. GitOrigin-RevId: 7a87902684b5e15644f037401e88b1f0c2c5fc6f