mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-11-24 21:53:12 -05:00
Fix two typos
This commit is contained in:
parent
86dde60fcf
commit
33ed3027ab
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ void *set_pointer_tag(void *ptr, u8 tag) {
|
|||
return (void *) (((uintptr_t) tag << 56) | (uintptr_t) untag_pointer(ptr));
|
||||
}
|
||||
|
||||
// This test checks that slab slot allocation uses tag that is distint from tags of its neighbors
|
||||
// This test checks that slab slot allocation uses tag that is distinct from tags of its neighbors
|
||||
// and from the tag of the previous allocation that used the same slot
|
||||
void tag_distinctness() {
|
||||
// tag 0 is reserved
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue