GrapheneOS on Nostr: Memory tagging also zeroes the allocation. On devices without it, we still zero it at ...
Memory tagging also zeroes the allocation. On devices without it, we still zero it at free time and then check for the zeroing at allocation time to detect write-after-free and guarantee that fresh allocations are zeroed. With memory tagging, it detects the invalid accesses.
Published at
2025-03-04 02:26:27Event JSON
{
"id": "4cded6170aa320d7ba89e63eef9d9c12885082433d6b2caf91ad9ccf3c9d0051",
"pubkey": "5468bceeb74ce35cb4173dcc9974bddac9e894a74bf3d44f9ca8b7554605c9ed",
"created_at": 1741055187,
"kind": 1,
"tags": [
[
"e",
"0bd07e0c6abfcca41b117e7ac0b4f2cfe17fd0d831b49ee4459b4e49794d803d",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://grapheneos.social/users/GrapheneOS/statuses/114101792747170919",
"activitypub"
]
],
"content": "Memory tagging also zeroes the allocation. On devices without it, we still zero it at free time and then check for the zeroing at allocation time to detect write-after-free and guarantee that fresh allocations are zeroed. With memory tagging, it detects the invalid accesses.",
"sig": "9f4d1a5aae829f4f408531567c7908d3f941d4b47d1dfebe5e5e5364b992f1e292fb37cf0d83557d6a8a361d08ef72c5382c4882938b6689da9dde8ae128b55d"
}