Is replacing alloca(3) where possible a good thing to do?

twilight pipfstarrd at openmailbox.org
Wed Sep 14 10:53:21 UTC 2016


Hello,

I again,
in cddl/* alloca(3) is used very intensively for creating dynamic arrays.
But, well, it's kinda obsolete and sometimes not safe and portable.
Is replacing alloca(3) with dynamic arrays a good thing? Or should
everything be left as it is?

Thanks in advance.
-- 
Cheers~

PGP key fingerprint:
07B3 2177 3E27 BF41 DC65  CC95 BDA8 88F1 E9F9 CEEF

You can retrieve my public key at pgp.mit.edu.


More information about the freebsd-hackers mailing list