← Commit list

8376bfae5

Denys Vlasenko
Denys Vlasenko
2010-06-01
FAILED Duration: 34s

Subject

decompress_unxz: allocate permanent crc32 table _fisrt_

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libunarchive/decompress_unxz.c+3 -3
@@ -62,15 +62,15 @@ unpack_xz_stream(int src_fd, int dst_fd)
OUT_SIZE = 60 * 1024,
};
+ if (!crc32_table)
+ crc32_table = crc32_filltable(NULL, /*endian:*/ 0);
+
membuf = xmalloc(IN_SIZE + OUT_SIZE);
memset(&iobuf, 0, sizeof(iobuf));
iobuf.in = membuf;
iobuf.out = membuf + IN_SIZE;
iobuf.out_size = OUT_SIZE;
- if (!crc32_table)
- crc32_table = crc32_filltable(NULL, /*endian:*/ 0);
-
state = xz_dec_init(64*1024); /* initial dict of 64k */
while (1) {