Skip to content

Commit b1d9571

Browse files
committed
remove trailing whitespace
1 parent e035792 commit b1d9571

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ Random tags are set for all slab allocations when allocated, with 4 excluded val
731731
3. the current (or previous) tag used for the slot to the left
732732
4. the current (or previous) tag used for the slot to the right
733733

734-
When a slab allocation is freed, the reserved `0` tag is set for the slot.
734+
When a slab allocation is freed, the reserved `0` tag is set for the slot.
735735
Slab allocation slots are cleared before reuse when memory tagging is enabled.
736736

737737
This ensures the following properties:
@@ -740,7 +740,7 @@ This ensures the following properties:
740740
- Use-after-free are deterministically detected until the freed slot goes through
741741
both the random and FIFO quarantines, gets allocated again, goes through both
742742
quarantines again and then finally gets allocated again for a 2nd time.
743-
- Since the default `0` tag is reserved, untagged pointers can't access slab
743+
- Since the default `0` tag is reserved, untagged pointers can't access slab
744744
allocations and vice versa.
745745

746746
Slab allocations are done in a statically reserved region for each size class

androidtest/memtag/memtag_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,6 @@ int main(int argc, char **argv) {
346346

347347
test_fn();
348348
do_context_switch();
349-
349+
350350
return 0;
351351
}

0 commit comments

Comments
 (0)