Re:The Linux Kernel Is Now VLA (Variable-Length Array) Free
by krzyk on Monday October 29, 2018 @07:30AM
(#18326567)
Why?
It has quite nice simple syntax. And all C newbies love it (doing malloc and then free is cumbersome, and not needed in simple cases).
[ Parent
| on HN ]
Re:The Linux Kernel Is Now VLA (Variable-Length Array) Free
by pjmlp on Monday October 29, 2018 @07:37AM
(#18326607)
What about lack of bounds checking leaving the door open to security exploits, in the days where CVEs caused by C's use increase every month?!?
Hence why they were dropped in C11. Being an optional annex means that actually most C vendors won't bother.