Skip to content
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

jcifs.RuntimeCIFSException: Usage count dropped below zero #147

Merged
merged 1 commit into from
Mar 9, 2019

Conversation

takifujis
Copy link
Contributor

Missing synchronization on SmbSessionImpl#acquire() causes 'jcifs.RuntimeCIFSException: Usage count dropped below zero' while SmbTransportImple#release() due to race condition. See below for the detail.

https://htmlpreview.github.io/?https://github.com/takifujis/jcifs-ng/blob/tmp/SmbSessionImpl_acquire_release_race_condition.html

@mbechler mbechler merged commit 65e1fe0 into AgNO3:master Mar 9, 2019
@mbechler
Copy link
Contributor

mbechler commented Mar 9, 2019

Thanks alot for the nice debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants