From 18b0b45b5b4e8d7be19afa1492c32abb75b9da4a 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(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index dde1d23..3258ff8 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-70-g09d2