diff options
| author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-07-07 14:21:40 +0100 |
|---|---|---|
| committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-27 14:46:53 +0100 |
| commit | 883d0c4a228ea9ae5c988bf87e99451bb80b1266 (patch) | |
| tree | c134301eda7f40f1e830cf69ed0e2b1c6ada754d /malloc/alloc_buffer_alloc_array.c | |
| parent | cf06645316e11077afbc9731693fd19e55619f59 (diff) | |
| download | glibc-883d0c4a228ea9ae5c988bf87e99451bb80b1266.tar.xz glibc-883d0c4a228ea9ae5c988bf87e99451bb80b1266.zip | |
cheri: malloc: Disable pointer protection
Such arithmetic invalidates capabilities so this security measure does
not work for CHERI.
Note: the architecture makes it hard to corrupt pointers in malloc
metadata, but not impossible: current allocation bounds include the
metadata and capabilities are not revoked after free. These issues can
be fixed by a capability aware malloc.
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
