]> git.ipfire.org Git - thirdparty/zstd.git/commit
zstdmt: fixed an endless loop on allocation failure
authorYann Collet <cyan@fb.com>
Wed, 17 Jan 2018 20:10:15 +0000 (12:10 -0800)
committerYann Collet <cyan@fb.com>
Wed, 17 Jan 2018 20:10:15 +0000 (12:10 -0800)
commit58dd7de640e630f19d64a10fbecb52f2628e9750
treea06a8f9bc4e47ac0cbf8954a7b542f0c52610fbc
parentcb57c107ff12b1f39adbb25ff14db56112a68cd1
zstdmt: fixed an endless loop on allocation failure

this happened on 32-bits build when requiring a too large input buffer,
typically on wlog=29, creating jobs of 2 GB size.

also : zstd32 now compiles with multithread support enabled by default
(can be disabled with HAVE_THREAD=0)
lib/compress/zstdmt_compress.c
programs/Makefile