Skip to content

Commit

Permalink
python3Packages.tornado_4: add patch for CVE-2023-28370
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Aug 14, 2023
1 parent 61a8a77 commit cd6106c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/tornado/4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, unittestCheckHook
, buildPythonPackage
, fetchPypi
, fetchpatch
, isPy27
, pythonAtLeast
}:
Expand All @@ -16,6 +17,14 @@ buildPythonPackage rec {
sha256 = "02jzd23l4r6fswmwxaica9ldlyc2p6q8dk6dyff7j58fmdzf853d";
};

patches = [
(fetchpatch {
name = "CVE-2023-28370.patch";
url = "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f.patch";
hash = "sha256-2dpPHkNThOaZD8T2g1vb/I5WYZ/vy/t690539uprJyc=";
})
];

nativeCheckInputs = [ unittestCheckHook ];

# We specify the name of the test files to prevent
Expand Down

0 comments on commit cd6106c

Please sign in to comment.