Core dump when calling session.methods()
fcaspar-weefin opened this issue · 0 comments
fcaspar-weefin commented
Bug reports
Hello, I'm getting a core dump when calling the methods()
method of a session object.
Steps to reproduce:
- Example code that produces error.
from ssh2 import session as session_lib
session = session_lib.Session()
print(session.methods(session_lib.LIBSSH2_METHOD_HOSTKEY))
- Stack trace or error messages.
Expected behaviour: [What was expected to happen.]
Display the list of methods.
Actual behaviour: [What actually happened.]
Segmentation fault (core dumped)
Additional info: [Include version of libssh2
and any other relevant information.]
- ubuntu 22.04
- python 3.10.12
- ssh2-python 1.0.0