Commit ffa942aa authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#579: fix client_addr == NULL crash

parent 8e44ebb0
......@@ -329,7 +329,9 @@ slapd_daemon(
if ( c[ns].c_addr != NULL ) {
free( c[ns].c_addr );
}
c[ns].c_addr = ch_strdup( client_addr );
c[ns].c_addr = ch_strdup( client_addr == NULL
? "" : client_addr );
if ( c[ns].c_domain != NULL ) {
free( c[ns].c_domain );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment