On 28.05.26 22:21, Tristan Partin wrote:
> Attached you will find v2 of the patch and v2 of the Coccinelle script.
> For more reading on __attribute__((malloc)), see the GCC documentation:
> https://gcc.gnu.org/onlinedocs/gcc/Common-Attributes.html#index-malloc.
I have committed your patch. I also found a few more cases nearby that
I fixed, but I think when you dig more, across different function
layers, you will find more.
I think using these attributes would be good, and this is good step in
that direction, and we can continue fixing whatever else we find as we go.