From 33ed3027aba12f75e513bf736656f7a7f092651d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 21 Sep 2025 12:23:10 +0200 Subject: [PATCH] Fix two typos --- androidtest/memtag/memtag_test.cc | 2 +- test/test_smc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/androidtest/memtag/memtag_test.cc b/androidtest/memtag/memtag_test.cc index f858292..eeb15ec 100644 --- a/androidtest/memtag/memtag_test.cc +++ b/androidtest/memtag/memtag_test.cc @@ -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 diff --git a/test/test_smc.py b/test/test_smc.py index 170278e..9c20094 100644 --- a/test/test_smc.py +++ b/test/test_smc.py @@ -98,7 +98,7 @@ class TestSimpleMemoryCorruption(unittest.TestCase): self.assertEqual(stderr.decode("utf-8"), "fatal allocator error: invalid free\n") - def test_invalid_malloc_usable_size_small_quarantene(self): + def test_invalid_malloc_usable_size_small_quarantine(self): _stdout, stderr, returncode = self.run_test( "invalid_malloc_usable_size_small_quarantine") self.assertEqual(returncode, -6)