Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.6
-
Fix Version/s: 1.0.7
-
Component/s: Generic
-
Labels:
-
Environment: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.