]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r357608: Limit memory usage in xz(1) instead of in tuklib.
authorXin LI <delphij@FreeBSD.org>
Thu, 6 Feb 2020 07:47:28 +0000 (07:47 +0000)
committerXin LI <delphij@FreeBSD.org>
Thu, 6 Feb 2020 07:47:28 +0000 (07:47 +0000)
commitf99e4a2d11f051c280ce97f0feb06463a9e8c23d
tree919ad63043e238a687b49012a92ccfd77e0d9345
parent31091dea96f8e90aeb71ca51a271d7aac184142f
parent9657691eff9c78f404f3f9d5907240d267893826
MFV r357608: Limit memory usage in xz(1) instead of in tuklib.

Apply upstream 353970510895f6a80adfe60cf71b70a95adfa8bc to limit memory
usage on 32-bit binary to 4020 MiB.

Submitted by: Lasse Collin <lasse.collin at tukaani.org>
Reviewed by: kib, bcr
Differential Revision: https://reviews.freebsd.org/D23474
contrib/xz/src/common/tuklib_physmem.c
contrib/xz/src/xz/hardware.c
contrib/xz/src/xz/xz.1