cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length VLAs.
authorBrooks Moses <bmoses@google.com>
Mon, 11 Jul 2016 23:48:41 +0000 (16:48 -0700)
committerBrooks Moses <brooks@gcc.gnu.org>
Mon, 11 Jul 2016 23:48:41 +0000 (16:48 -0700)
commit3f39385351ac395127b36c7413a939ead037afe6
tree3ee591a0fb7f7a205df5d926d126446957b086e5
parent3d56e6a465a1fab02df9648c9dca41e98fabbae0
cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length VLAs.

2016-06-12  Brooks Moses  <bmoses@google.com>

* cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
  VLAs.

From-SVN: r238233
libiberty/ChangeLog
libiberty/cp-demangle.c