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

Exceptions in _create_connector before conn is instantiated not correctly handled #7

Open
charles-dyfis-net opened this issue Apr 22, 2013 · 0 comments

Comments

@charles-dyfis-net
Copy link

It is possible to exit the first try block within _create_connector with conn uninitialized. If this happens, raising a BackendError with conn as a keyword argument fails, as this variable has not yet been initialized.

charles-dyfis-net added a commit to charles-dyfis-net/ldappool that referenced this issue Apr 22, 2013
tarekziade added a commit that referenced this issue Apr 22, 2013
Initialize conn in _create_connector (fixes: #7)
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

No branches or pull requests

1 participant