Module: sip-router
Branch: master
Commit: f0a71b9957f94715c5cf7c25a7265e19ff1e277c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f0a71b9…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Fri Sep 4 18:14:11 2009 +0200
registrar(k): port from r5923: information leak bug in registrar
---
modules_k/registrar/save.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules_k/registrar/save.c b/modules_k/registrar/save.c
index 148543f..470fbe4 100644
--- a/modules_k/registrar/save.c
+++ b/modules_k/registrar/save.c
@@ -197,6 +197,8 @@ static inline int no_contacts(udomain_t* _d, str* _a)
if (res == 0) { /* Contacts found */
build_contact(r->contacts);
ul.release_urecord(r);
+ } else { /* No contacts found */
+ build_contact(NULL);
}
ul.unlock_udomain(_d, _a);
return 0;