From: Lennart Poettering Date: Wed, 7 Apr 2010 23:43:25 +0000 (+0200) Subject: util: when reading a line from a file have space for at least 2k chars X-Git-Tag: 0.git+20100605+dfd8ee-1~204 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=113166332c2144816fd277c529033c6f06e104cf;p=systemd util: when reading a line from a file have space for at least 2k chars --- 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);