[NFC][Asan] Fix typo in comment
authorVitaly Buka <vitalybuka@google.com>
Fri, 4 Sep 2020 09:03:28 +0000 (02:03 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 4 Sep 2020 09:04:25 +0000 (02:04 -0700)
compiler-rt/lib/asan/asan_allocator.cpp

index 5203382..f5c273e 100644 (file)
@@ -745,7 +745,7 @@ struct Allocator {
     uptr *alloc_magic = reinterpret_cast<uptr *>(alloc_beg);
     if (alloc_magic[0] == kAllocBegMagic)
       return reinterpret_cast<AsanChunk *>(alloc_magic[1]);
-    // FIXME: This is either valid small chunk with tiny redzine or invalid
+    // FIXME: This is either valid small chunk with tiny redzone or invalid
     // chunk which is beeing allocated/deallocated. The latter case should
     // return nullptr like secondary allocator does.
     return reinterpret_cast<AsanChunk *>(alloc_beg);