]> git.sur5r.net Git - openldap/commit
In connections_shutdown - check for Uninitialized struct first, since
authorHoward Chu <hyc@openldap.org>
Thu, 21 Dec 2006 06:06:32 +0000 (06:06 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 21 Dec 2006 06:06:32 +0000 (06:06 +0000)
commitdf54b1a2443f5ec55030c3cf55221a7d4a04d38d
tree4e67f5f5af99563c73a8688914d0a5dd752b9b76
parent758f4d81546880e0b36ff2028556ffdc73aa7f0c
In connections_shutdown - check for Uninitialized struct first, since
attempting to lock an unint'd mutex may crash on some platforms. And
there is no chance for an unint'd conn to get init'd while shutdown
is occurring, so the unprotected check of struct state is safe.
servers/slapd/connection.c