--- libubootenv-0.3.3/src/uboot_env.c	2022-09-05 11:03:32.000000000 +0200
+++ src/src/uboot_env.c	2024-07-05 17:20:01.762059695 +0200
@@ -1146,7 +1127,7 @@
 	return ctx->valid ? 0 : -ENODATA;
 }
 
-#define LINE_LENGTH 1024
+#define LINE_LENGTH (16 * 1024)
 int libuboot_load_file(struct uboot_ctx *ctx, const char *filename)
 {
 	FILE *fp;
