python: Apply patch for CVE-2019-20907

Incluing the patch file in-tree because the upstream patch is not
intended to apply for Python 2.

Re #94004
This commit is contained in:
Christian Kauhaus
2020-08-04 15:11:59 +02:00
committed by Frederik Rietdijk
parent 46ee7ddcad
commit a14859c686
2 changed files with 27 additions and 0 deletions

View File

@@ -90,6 +90,9 @@ let
# Backport from CPython 3.8 of a good list of tests to run for PGO.
./profile-task.patch
# Patch is likely to go away in the next release (if there is any)
./CVE-2019-20907.patch
] ++ optionals (x11Support && stdenv.isDarwin) [
./use-correct-tcl-tk-on-darwin.patch
] ++ optionals stdenv.isLinux [