diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-18 11:31:40 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-21 14:08:01 -0800 |
commit | 517821b1730695dc41403668854871c746face26 (patch) | |
tree | d70cf2d2ec29a5b630bc7b024e80a6110ddb4452 /src/3rdparty/angle | |
parent | e1654aeb2e7fa282af045496c4903b06d2893e21 (diff) |
QHash: improve aeshash's page detection code
We don't need to test for actually crossing a page boundary. It suffices
to check if we're in the upper half or the lower half of the page. In
the upper half, we load ending at the end; in the lower half, we load
starting at the current position. This way, it can never crash.
Pick-to: 6.2.3 6.2 6.3
Change-Id: Icad7c1bad46a449c8e8afffd16cb743e622b3405
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty/angle')
0 files changed, 0 insertions, 0 deletions