Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.0.6
-
Python 3.9.5
Linux 5.10.36
GCC 10.2
Description
Calling a connection objects get_server_version function returns the version once, and then on a second or third call will segfault the interpreter.
Additionally sometimes it will return the version once, and then return garbaged data.
It is more accurate to say that get_server_version returns the version once and then goes into undefined behavior
server_version_info and server_version do not suffer from this.