Skip to content

Commit 33ed302

Browse files
cgzonesthestinger
authored andcommitted
Fix two typos
1 parent 86dde60 commit 33ed302

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

androidtest/memtag/memtag_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void *set_pointer_tag(void *ptr, u8 tag) {
4444
return (void *) (((uintptr_t) tag << 56) | (uintptr_t) untag_pointer(ptr));
4545
}
4646

47-
// This test checks that slab slot allocation uses tag that is distint from tags of its neighbors
47+
// This test checks that slab slot allocation uses tag that is distinct from tags of its neighbors
4848
// and from the tag of the previous allocation that used the same slot
4949
void tag_distinctness() {
5050
// tag 0 is reserved

test/test_smc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def test_invalid_free_unprotected(self):
9898
self.assertEqual(stderr.decode("utf-8"),
9999
"fatal allocator error: invalid free\n")
100100

101-
def test_invalid_malloc_usable_size_small_quarantene(self):
101+
def test_invalid_malloc_usable_size_small_quarantine(self):
102102
_stdout, stderr, returncode = self.run_test(
103103
"invalid_malloc_usable_size_small_quarantine")
104104
self.assertEqual(returncode, -6)

0 commit comments

Comments
 (0)