cpython: patch CVE-2025-0938

https://www.cve.org/CVERecord?id=CVE-2025-0938
This commit is contained in:
Martin Weinelt
2025-02-01 02:59:24 +01:00
parent 63ab5cd1c5
commit c0a7f07a63
2 changed files with 202 additions and 0 deletions
@@ -252,6 +252,8 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
# (since it will do a futile invocation of gcc (!) to find
# libuuid, slowing down program startup a lot).
noldconfigPatch
# https://www.cve.org/CVERecord?id=CVE-2025-0938
./CVE-2025-0938.patch
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.isFreeBSD) [
# Cross compilation only supports a limited number of "known good"
# configurations. If you're reading this and it's been a long time