]> Savannah Git Hosting - gnulib.git/commit
realloc-posix: set CHERI bounds
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Nov 2024 07:27:52 +0000 (23:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2024 05:40:18 +0000 (21:40 -0800)
commit9959b629b0d36f28f4ef0bbd7e0cd4fe28b63af8
tree32f0bf4eb5f4a8e0fe512b0f1f8026756082b7ae
parentd884e6fc4a609dda5428fa84d19cb656d7e317f8
realloc-posix: set CHERI bounds

* lib/ialloc.h, lib/xmalloc.c [__CHERI_PURE_CAPABILITY__]:
Do nothing special, as realloc and reallocarray
should do this for us now.
* lib/realloc.c [__CHERI_PURE_CAPABILITY__]:
Include cheri.h, and arrange for rpl_realloc to set bounds.
ChangeLog
lib/ialloc.h
lib/realloc.c
lib/xmalloc.c