https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115185
--- Comment #9 from Alejandro Colomar <alx at kernel dot org> --- (In reply to uecker from comment #8) > Have you considered adding the alloc_size attribute to your allocation > functions? I didn't know about it; I will do. Thanks! :-)