From 7f32f930ef850f789ecd0a3d3679aeec4dddd215 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 9 Mar 2014 21:06:18 -0700 Subject: [PATCH] Increase static buffer size While 100 was almost certainly long enough for all the non-string data that we'd find on a single line, it was a little too close for comfort. So let's go total overkill and not worry about it. Signed-off-by: Dirk Hohndel --- load-git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load-git.c b/load-git.c index 636f1efc6..92f8dbc05 100644 --- a/load-git.c +++ b/load-git.c @@ -783,7 +783,7 @@ static const char *parse_one_string(const char *buf, const char *end, struct mem } typedef void (line_fn_t)(char *, struct membuffer *, void *); -#define MAXLINE 100 +#define MAXLINE 500 static unsigned parse_one_line(const char *buf, unsigned size, line_fn_t *fn, void *fndata, struct membuffer *b) { const char *end = buf + size;