[PATCH] - improve sprintf buffer overflow detection (middle-end/49905)
David Malcolm
dmalcolm@redhat.com
Tue Sep 20 20:33:00 GMT 2016
On Tue, 2016-09-20 at 13:35 -0600, Martin Sebor wrote:
[...]
> > > +#if 0
> ...
> > > +#else
> ...
> > > +#endif
> > Please remove the #if 0'd code.
>
> Sorry about that. This was left over from my effort to persuade
> the substring_loc class to underline just the last quote of the
> format string. I thought David had made some changes to make it
> possible but I may have misremembered. Let me raise a separate
> bug for it.
I don't think the substring_loc code supports such a feature yet;
please open a bug for it and CC me on it.
[...]
More information about the Gcc-patches
mailing list