[Issue 10318] Potential null-pointer-dereference in servers/slapd/connection.c