[PATCH 00/19] Fixed-size buffer removal

John Keeping john at keeping.me.uk
Mon Apr 8 19:38:52 CEST 2013


On Mon, Apr 08, 2013 at 05:31:47PM +0200, Jason A. Donenfeld wrote:
> On Sun, Apr 7, 2013 at 3:14 PM, John Keeping <john at keeping.me.uk> wrote:
> > On Sun, Apr 07, 2013 at 03:08:53PM +0200, Jason A. Donenfeld wrote:
> >> On Sun, Apr 7, 2013 at 11:29 AM, John Keeping <john at keeping.me.uk> wrote:
> >> > After this series, the only remaining uses of html.c::fmt produce
> >> > strings with a known bound on their length and there are no uses of
> >> > snprintf.
> >>
> >> What about the fmt in cgit_print_snapshot_links?
> >
> > And cgit_add_hidden_form_fields.  I'll include all of those in the
> > reroll.
> 
> replace_tabs in ui-ssdiff.c

Yeah, this version basically handles the output of "git grep 'fmt('" and
"git grep 'sn?printf'".

I intend to do another pass looking for strcat, strcpy, etc. but I'm not
sure when I'll get round to that.




More information about the CGit mailing list