On Mon Apr 28 16:48:19 2025 +0000, Huw Davies wrote:
Seems like here, for example, we set the size to be even larger, i.e. we'd need `sizeof(wfx) + sizeof(*wfxe) + 1`
Yes, you're right. Oddly, ASan stopped complaining as soon as I moved the memory from the stack to the heap, which made me think that allocating one more byte had fixed the problem when it hadn't.