[binutils][PATCH] Avoid zero-length VLAs.
Brooks Moses
bmoses@google.com
Mon Jun 13 16:04:00 GMT 2016
Hi Nick,
On Mon, Jun 13, 2016 at 3:36 AM, Nick Clifton <nickc@redhat.com> wrote:
>> Zero-length variable-length-arrays are not allowed in standard C99,
>> and perhaps more importantly, they cause ASAN to complain. (See,
>> e.g., https://gcc.gnu.org/ml/gcc-patches/2013-09/msg00917.html.)
>>
>> With this patch, the libiberty tests, including demangler-fuzzer, are
>> ASAN-clean.
>
> Thanks for reporting this problem. Unfortunately you have reported it
> to the wrong place! The libiberty code is used by both the binutils and
> gcc projects, but it is officially maintained by gcc. So please could
> you repost this bug report and patch to gcc-patches@gcc.gnu.org ?
Will do. Thanks for the quick reply!
- Brooks
More information about the Binutils
mailing list