]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40480 "fnmatch" exponential execution time (GH-19908)
authorTim Peters <tim.peters@gmail.com>
Wed, 6 May 2020 02:28:24 +0000 (21:28 -0500)
committerGitHub <noreply@github.com>
Wed, 6 May 2020 02:28:24 +0000 (21:28 -0500)
commitb9c46a2c2d7fc68457bff641f78932d66f5e5f59
tree7f7798c3f7ef5c476705bf2fdb349adddf14c354
parent96074de573f82fc66a2bd73c36905141a3f1d5c1
bpo-40480 "fnmatch" exponential execution time (GH-19908)

bpo-40480:  create different regexps in the presence of multiple `*`
patterns to prevent fnmatch() from taking exponential time.
Lib/fnmatch.py
Lib/test/test_fnmatch.py
Misc/NEWS.d/next/Library/2020-05-04-21-21-43.bpo-40480.mjldWa.rst [new file with mode: 0644]