Browse code

registrar(k): port from r5923: information leak bug in registrar

Henning Westerholt authored on 04/09/2009 16:14:11
Showing 1 changed files
... ...
@@ -197,6 +197,8 @@ static inline int no_contacts(udomain_t* _d, str* _a)
197 197
 	if (res == 0) {  /* Contacts found */
198 198
 		build_contact(r->contacts);
199 199
 		ul.release_urecord(r);
200
+	} else {  /* No contacts found */
201
+		build_contact(NULL);
200 202
 	}
201 203
 	ul.unlock_udomain(_d, _a);
202 204
 	return 0;