[sr-dev] git:master: modules/rls: changed default hash size from 512 to 9 to avoid overflow

Richard Good richard.good at smilecoms.com
Thu Jan 23 16:22:53 CET 2014


Module: sip-router
Branch: master
Commit: 48bb4b562d7d7ec20b45dbe555836bb8969b988d
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=48bb4b562d7d7ec20b45dbe555836bb8969b988d

Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date:   Thu Jan 23 17:21:04 2014 +0200

modules/rls: changed default hash size from 512 to 9 to avoid overflow

---

 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;




More information about the sr-dev mailing list