From a0819044b14ec34450d2fcab33fb15232e8164fa Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 6 Nov 2017 11:47:57 +0100 Subject: [PATCH] logread: fix line buffer size Signed-off-by: Felix Fietkau --- log/logread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/logread.c b/log/logread.c index 920d96b..784d1f9 100644 --- a/log/logread.c +++ b/log/logread.c @@ -100,7 +100,7 @@ static int log_notify(struct blob_attr *msg) { struct blob_attr *tb[__LOG_MAX]; struct stat s; - char buf[512]; + char buf[LOG_LINE_SIZE + 128]; char buf_ts[32]; uint32_t p; time_t t; -- 2.11.0