Assignee: unassigned at gcc dot gnu.org
Reporter: charo.ctf at gmail dot com
Target Milestone: ---
Description:
On startup of a program compiled with "-fvtable-verify=std" or
"-fvtable-verify=preinit", argv[0] is directly passed as the
third argument of snprintf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83520
--- Comment #3 from Touma Hatano ---
Sorry for misleading.
My point was that if we can replace
snprintf (program_name, sizeof (program_name), program_invocation_name);
with
snprintf (program_name, sizeof (program_name), "%s",
program_invocati