# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/graalvm/hotfix-mx.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- graal-vm-25.0.2/mx-7.79.1/src/mx/_impl/mx.py.vanilla 2026-04-27 23:16:27.767776926 +0300 +++ graal-vm-25.0.2/mx-7.79.1/src/mx/_impl/mx.py 2026-04-27 23:18:21.930520573 +0300 @@ -8364,6 +8364,9 @@ return ar.getnames() def _extractall(self, ar, dst): + # Force the filter to 'fully_trusted' when available + if hasattr(tarfile, 'fully_trusted_filter'): + return ar.extractall(dst, filter=tarfile.fully_trusted_filter) return ar.extractall(dst)