Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scudo] Compute the default aligned pointer without tag (#92989)
llvm/llvm-project#83493 slightly changed the order of computation of block addresses and pointers, causing the value of DefaultAlignedPtr to include the MTE tag. Move this computation earlier so it matches the old behavior. This fixes a UBSan failure in Trusty: secure os: UBSan: (overflow:-) external/scudo/standalone/combined.h:1070:35 secure os: Details: unsigned integer overflow: 8988807738704 - 144124176883594576 cannot be represented in type 'uptr' GitOrigin-RevId: b17d44558ba4c30a3005089b334f68593d6a9c7c Change-Id: Ie86f195d79144e0539684a71dbedaa0c8b961729
- Loading branch information