]> Savannah Git Hosting - gnulib.git/commit
eealloc: Take advantage of CHERI bounds-checking.
authorBruno Haible <bruno@clisp.org>
Sat, 11 Nov 2023 18:31:56 +0000 (19:31 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 11 Nov 2023 18:31:56 +0000 (19:31 +0100)
commit4daae72c47a59e20f5312c1febb84e4c187e6acc
tree8c3f8acd76ce644e776667c33671419abe311402
parentdba81b1764b575d119fd2ee86f386d461e83be76
eealloc: Take advantage of CHERI bounds-checking.

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