threerings / openvpn-auth-ldap

Implements username/password authentication via LDAP for OpenVPN 2.x.
Other
134 stars 63 forks source link

Fix crash on close if LDAP initialization failed/when configuration file is not EOL-terminated #89

Open zi0r opened 2 years ago

zi0r commented 2 years ago

Add a simple check to ensure our LDAP context has been properly initialized before trying to release it on close