|
From: | Paul Eggert |
Subject: | Re: VLA and alloca |
Date: | Sat, 2 Feb 2019 14:44:52 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Bruno Haible wrote:
How about making use of this GNULIB_NO_VLA macro in all places that assume VLA syntax?
That's OK for allocating VLAs, but it's too broad for vla.h since vla.h does not allocate VLAs and its uses of variable-length arrays do not have the security or performance issues that people ordinarily think of when they think of VLAs.
I see that vla.h's comments are too terse about this, so I installed the attached patch to try to clarify things.
0001-vla-add-commentary-about-VLA_ELEMS.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |