From 880e1231d8095c7b519dcfd107c2973eb41b0ca0 Mon Sep 17 00:00:00 2001 From: "thibault.ferrante" Date: Thu, 7 Jan 2021 17:25:23 +0100 Subject: io: Handle long lines As an APKINDEX can become arbitrarely long due to dependencies and other parameters, increasing the buffer size make this less likely to happens. Closes #10731. --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index dc8919c..decf167 100644 --- a/src/io.c +++ b/src/io.c @@ -32,7 +32,7 @@ #define HAVE_FGETGRENT_R #endif -size_t apk_io_bufsize = 8*1024; +size_t apk_io_bufsize = 16*1024; static void apk_file_meta_from_fd(int fd, struct apk_file_meta *meta) { -- cgit v1.2.3-60-g2f50