python-pam icon indicating copy to clipboard operation
python-pam copied to clipboard

internals: Root conversation and closure data

Open halfline opened this issue 1 year ago • 0 comments

If the conversation and closure data are not rooted to the class then they can be garbage collected before the conversation function is invoked.

That leads to a crash in pam_lastlog during session open time.

This commit addressed the issue by assigning the state to the class as properties.

halfline avatar Sep 28 '24 00:09 halfline