https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Gaius Mulley from comment #11)
> Yes is looks as if '%' could be propagated though into the first parameter.
> Changes could be made to m2linemap.cc to bump the parameters as you say with
> "%s" as the first.

Compiling with -Wformat-security points out such problems.  This is included
in -Wformat=2 which should be in -Wextra at least (but isn't), and would be
good to have in -Wall even imo.

Reply via email to