23 Nov
2020
23 Nov
'20
12:45 p.m.
andreas@rammhold.de writes:
While testing this patch I asked myself if there are actually still valid users of non-zeroed memory and if we shouldn't just change the default to be zeroed? That would also remove the need to patch every single call site.
Well there are other callers that already perform manual clearing, so just changing sl_alloc() would lead to double-clearing there. Not a huge issue, I suppose, but I'll leave it up to the maintainers to decide :) -Toke