Jeff King
5914f2d057
fetch: create status table using strbuf
...
When we fetch from a remote, we print a status table like:
From url
* [new branch] foo -> origin/foo
We create this table in a static buffer using sprintf. If
the remote refnames are long, they can overflow this buffer
and smash the stack.
Instead, let's use a strbuf to build the string.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-12-09 23:17:00 -08:00
..
2011-05-16 16:37:33 -07:00
2011-05-16 16:36:46 -07:00
2011-03-09 23:52:57 -08:00
2011-04-29 11:09:42 -07:00
2011-06-29 16:35:29 -07:00
2011-03-09 23:52:57 -08:00
2011-04-12 00:20:28 -07:00
2011-03-09 23:52:57 -08:00
2011-05-31 12:00:27 -07:00
2011-04-03 12:33:05 -07:00
2011-04-03 12:29:45 -07:00
2011-04-03 12:32:51 -07:00
2011-03-22 14:29:07 -07:00
2011-05-31 12:00:02 -07:00
2011-03-29 14:09:08 -07:00
2011-12-09 23:17:00 -08:00
2011-03-22 10:16:54 -07:00
2011-03-22 11:43:27 -07:00
2011-06-19 14:46:39 -07:00
2011-04-03 10:14:53 -07:00
2011-03-22 10:16:54 -07:00
2011-04-03 10:14:53 -07:00
2011-05-31 12:00:27 -07:00
2011-05-31 12:00:02 -07:00
2011-04-15 10:13:52 -07:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00
2011-05-31 12:00:27 -07:00
2011-03-23 14:55:46 -07:00
2011-03-09 23:52:56 -08:00
2011-04-01 17:55:55 -07:00
2011-04-05 20:25:49 -07:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00
2011-04-01 17:55:55 -07:00
2011-04-03 10:14:53 -07:00
2011-03-22 11:43:27 -07:00
2011-03-22 10:16:54 -07:00
2011-04-06 10:38:14 -07:00
2011-04-01 17:55:55 -07:00
2011-03-23 10:16:44 -07:00
2011-03-23 10:16:44 -07:00
2011-05-16 13:01:45 -07:00
2011-03-09 23:52:56 -08:00
2011-05-26 09:33:25 -07:00
2011-03-09 23:52:58 -08:00
2011-04-01 17:55:55 -07:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00