[Bug other/83520] format string bug in libvtv

2017-12-24 Thread charo.ctf at gmail dot com
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

[Bug other/83520] New: format string bug in libvtv

2017-12-20 Thread charo.ctf at gmail dot com
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