]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve regexp used by pymssql to parse db version
authorFederico Caselli <cfederico87@gmail.com>
Mon, 21 Jun 2021 19:01:57 +0000 (21:01 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 21 Jun 2021 22:31:01 +0000 (22:31 +0000)
commita84881e1b7505c3ffb9b9f0ac2b227cbd650aac2
tree5b3b9c56e95752f1dd8c1301c1d298455c50ae9e
parent2f100a7d4bb143e1f8674a388d8d305be3051bd6
Improve regexp used by pymssql to parse db version

Made improvements to the server version regexp used by the pymssql
dialect to prevent a regexp overflow in case of an invalid version
string.

Fixes: #5557
Change-Id: Ia3e95a9f11f5a121d84474c97f6b122cf8d9c9cf
doc/build/changelog/unreleased_14/5557.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/pymssql.py