diff options
author | yeting li <liyt@ios.ac.cn> | 2020-09-06 12:12:28 +0800 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-09-10 23:33:01 +0200 |
commit | 5405dd5115d598fa69e49538d50ec79202b1b52e (patch) | |
tree | 6cba294452b2a088a7cfdcd2ca06d70cb77ca4fe /doc | |
parent | 74d5bcb352141bc742488e74d1b37c1cb381a7ce (diff) | |
download | pylint-git-5405dd5115d598fa69e49538d50ec79202b1b52e.tar.gz |
Bug: fix vulnerable regexes to avoid potential ReDoS.
Fix issue #3811
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.6.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/whatsnew/2.6.rst b/doc/whatsnew/2.6.rst index bc82abd8e..406c5ba52 100644 --- a/doc/whatsnew/2.6.rst +++ b/doc/whatsnew/2.6.rst @@ -39,4 +39,6 @@ Other Changes * Add support for both isort 4 and isort 5. If you have pinned isort 4 in your projet requirements, nothing changes. If you use isort 5, though, note that the `known-standard-library` option is not interpreted the same in isort 4 and isort 5 (see `the migration guide in isort documentation`_ for further details). For compatibility's sake for most pylint users, the `known-standard-library` option in pylint now maps to `extra-standard-library` in isort 5. If you really want what `known-standard-library` now means in isort 5, you must disable the `wrong-import-order` check in pylint and run isort manually with a proper isort configuration file. +* Fix vulnerable regular expressions in ``pyreverse``. The ambiguities of vulnerable regular expressions are removed, making the repaired regular expressions safer and faster matching. + .. _the migration guide in isort documentation: https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/#known_standard_library |