python27: Fix CVE-2021-3177

Thanks to the Gentoo team maintaining a fork of python2¹ we can easily
apply their backported patch for this security vulnerability.

[1] https://gitweb.gentoo.org/fork/cpython.git/
This commit is contained in:
Martin Weinelt
2021-02-19 02:30:21 +01:00
committed by Frederik Rietdijk
parent 2cbc212983
commit 85cde0d60f
2 changed files with 184 additions and 0 deletions

View File

@@ -103,6 +103,9 @@ let
# Patch is likely to go away in the next release (if there is any)
./CVE-2019-20907.patch
./CVE-2021-3177.patch
] ++ optionals (x11Support && stdenv.isDarwin) [
./use-correct-tcl-tk-on-darwin.patch
] ++ optionals stdenv.isLinux [