Commit 679c4092 by Richard Sandiford Committed by Richard Sandiford

* tree.c (get_file_function_name_long): Fix size of alloca() area.

From-SVN: r70248
parent c8b5beb8
2003-08-08 Richard Sandiford <rsandifo@redhat.com>
* tree.c (get_file_function_name_long): Fix size of alloca() area.
2003-08-08 Kelley Cook <kelleycook@wideopenwest.com>
* configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
......
......@@ -4517,7 +4517,7 @@ get_file_function_name_long (const char *type)
file = input_filename;
len = strlen (file);
q = alloca (9 * 2 + len);
q = alloca (9 * 2 + len + 1);
memcpy (q, file, len + 1);
clean_symbol_name (q);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment