[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6930) Socket leak in ldap_connect_to_path(too long path)

Full_Name: Hallvard B Furuseth
Version: master, 2.4.24
OS: Linux x86_64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hallvard

ldap_connect_to_path() verifies its parameters after instead of
before socket(), and does not close the socket on failure.  Also
the cleanup code can be simplified.  Found by Klocwork, issue#117.