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.
cute-signatures
thibault.ferrante 2021-01-07 17:25:23 +01:00 committed by Timo Teräs
parent 0fb0d30477
commit 18b0b45b5b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{