* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor)
(rs6000_elf_asm_out_destructor): increase size of buf to avoid
possible overflow.
From-SVN: r240852
+2016-10-06 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor)
+ (rs6000_elf_asm_out_destructor): increase size of buf to avoid
+ possible overflow.
+
2016-10-06 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-cores.def: Add a comment before each
rs6000_elf_asm_out_constructor (rtx symbol, int priority)
{
const char *section = ".ctors";
- char buf[16];
+ char buf[18];
if (priority != DEFAULT_INIT_PRIORITY)
{
rs6000_elf_asm_out_destructor (rtx symbol, int priority)
{
const char *section = ".dtors";
- char buf[16];
+ char buf[18];
if (priority != DEFAULT_INIT_PRIORITY)
{