libpsl icon indicating copy to clipboard operation
libpsl copied to clipboard

Avoid alloca in libpsl and tests

Open rockdaboot opened this issue 1 year ago • 0 comments

alloca() needs special treatment for Windows and possibly other systems. The implementation also is compiler-specific. alloca() in general is considered "dangerous" (similar to variable-length arrays (VLAs)).

This PR drops the usage of alloca() for the aforementioned reasons.

rockdaboot avatar Feb 04 '24 17:02 rockdaboot