From 113166332c2144816fd277c529033c6f06e104cf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Apr 2010 01:43:25 +0200 Subject: [PATCH] util: when reading a line from a file have space for at least 2k chars --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index a0f26762..69a26a2d 100644 --- a/util.c +++ b/util.c @@ -412,7 +412,7 @@ finish: int read_one_line_file(const char *fn, char **line) { FILE *f; int r; - char t[64], *c; + char t[2048], *c; assert(fn); assert(line); -- 2.39.5