otrx: bump buffer size in otrx_create_append_file
[openwrt/openwrt.git] / package / utils / otrx / src / otrx.c
index 3b7cf0485936abc8fb428345317c3d214cce736a..0d99cd39e3e21321236522a2e50e9016be29d15d 100644 (file)
@@ -232,7 +232,7 @@ static ssize_t otrx_create_append_file(FILE *trx, const char *in_path) {
        FILE *in;
        size_t bytes;
        ssize_t length = 0;
-       uint8_t buf[128];
+       uint8_t buf[1024];
 
        in = fopen(in_path, "r");
        if (!in) {