Skip to content

Commit

Permalink
python310Packages.dateparser: patch ReDoS
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Jan 24, 2023
1 parent 48bd2d0 commit 5b6aff4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/dateparser/default.nix
Expand Up @@ -34,6 +34,11 @@ buildPythonPackage rec {

patches = [
./regex-compat.patch
(fetchpatch {
name = "prevent-redos-in-spanish-sentence-splitting-regex.patch";
url = "https://github.com/scrapinghub/dateparser/pull/1084.patch";
hash = "sha256-5dJ4TnrM0Eq9W02GWOTEpRnZzk1QzNQEc7JbEPfDVgY=";
})
];

postPatch = ''
Expand Down

0 comments on commit 5b6aff4

Please sign in to comment.