aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-07-07 14:21:40 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-22 14:31:25 +0000
commit0f2a4c9573e3c1f2e593f450cc27e6f4e6a84ddc (patch)
tree79b9c2f3d0e2284fc2dc941b040704a55956eb3e /malloc/alloc_buffer_alloc_array.c
parentcd345f5c03e504faca874e1da74bc966a379cedb (diff)
downloadglibc-0f2a4c9573e3c1f2e593f450cc27e6f4e6a84ddc.tar.xz
glibc-0f2a4c9573e3c1f2e593f450cc27e6f4e6a84ddc.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