Android 12.1.0 release 19
[scudo] Untag BlockEnd in reallocate

If we get here from reallocate, BlockEnd is tagged. Then we
will storeTag(UntaggedEnd) into the header of the next chunk.

Luckily header tag is 0 so unpatched code still works.

Reviewed By: pcc

Differential Revision: https://reviews.llvm.org/D105261

Bug: 206701345
Test: CtsBionicTestCases
GitOrigin-RevId: fe30963600ea579d4046c9a92c6e38cc2be0e9a2
Merged-In: Idfbf127080f09a2a111741f60efa5422414c2009
Change-Id: Idfbf127080f09a2a111741f60efa5422414c2009
(cherry picked from commit 5df4673efd351b357998c1007b5a2360ab3b67e0)
1 file changed