On Thu, Nov 09, 2023 at 02:38:12PM +0100, Ahmad Fatoum wrote:
> Once we start annotating malloc with __attribute((alloc_size)), GCC will
> detect that we intentionally buffers that are too big.
>
> Avoid the warning by hiding the size using the RELOC_HIDE macro.
>
> Signed-off-by: Ahmad Fatoum
>
Once we start annotating malloc with __attribute((alloc_size)), GCC will
detect that we intentionally buffers that are too big.
Avoid the warning by hiding the size using the RELOC_HIDE macro.
Signed-off-by: Ahmad Fatoum
---
test/self/malloc.c | 8
1 file changed, 4 insertions(+), 4 de