]> Savannah Git Hosting - gnulib.git/commit
alignalloc: Take advantage of CHERI bounds-checking.
authorBruno Haible <bruno@clisp.org>
Sat, 11 Nov 2023 18:28:26 +0000 (19:28 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 11 Nov 2023 18:28:26 +0000 (19:28 +0100)
commitdba81b1764b575d119fd2ee86f386d461e83be76
tree0b2fcae99ac595cc8c2adfebffac27a84288a80c
parent43c756979eda21ffd32e3ae66f39589b06f4af3b
alignalloc: Take advantage of CHERI bounds-checking.

* lib/alignalloc.h: Include <cheri.h>.
(alignalloc): When size is 0, return a pointer whose bounds are of
size 0, not 1.
ChangeLog
lib/alignalloc.h