-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leaking sockets #50
Comments
You are right. |
Fixed in dd34cb3 Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
it seems libpcsc is leaking sockets if connection is dropped by e.g. polkit. From my (brief) investigation, while socket is created in
ClientSetupSession()
called fromSCardEstablishContextTH()
, resulting socket indwClientID
is not stored in context until the end of this session, while you can exit on e.g.MessageReceive()
failure in the very next block afterClientSetupSession()
.This leads to growing number of open files, should the application repeatedly try to call
SCardEstablishContext()
, and eventually everything explodes...Did I miss anything?
Thanks,
Martin
The text was updated successfully, but these errors were encountered: