Commit 18b0b45b authored by Thibault Ferrante's avatar Thibault Ferrante Committed by Timo Teräs

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.
parent 0fb0d304
Pipeline #67603 passed with stage
in 42 seconds
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment