Module: sip-router
Branch: 4.1
Commit: b5e78a88838702088b9f0f0559aced1a5431281f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b5e78a8…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jan 23 17:21:04 2014 +0200
modules/rls: changed default hash size from 512 to 9 to avoid overflow
(cherry picked from commit 48bb4b562d7d7ec20b45dbe555836bb8969b988d)
---
modules/rls/rls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/rls/rls.c b/modules/rls/rls.c
index 08dedcf..453b43e 100644
--- a/modules/rls/rls.c
+++ b/modules/rls/rls.c
@@ -89,7 +89,7 @@ int *rls_notifier_id = NULL;
str db_url = str_init(DEFAULT_DB_URL);
str xcap_db_url = str_init("");
str rlpres_db_url = str_init("");
-int hash_size = 512;
+int hash_size = 9;
shtable_t rls_table;
contains_event_t pres_contains_event;
search_event_t pres_search_event;