Module: kamailio
Branch: master
Commit: bd92fb59cce183008956ff060911cc14d3dfb160
URL:
https://github.com/kamailio/kamailio/commit/bd92fb59cce183008956ff060911cc1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-08T13:30:31+02:00
sca: call unsafe find entry function to avoid infinite recursion
---
Modified: src/modules/sca/sca_hash.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bd92fb59cce183008956ff060911cc1…
Patch:
https://github.com/kamailio/kamailio/commit/bd92fb59cce183008956ff060911cc1…
---
diff --git a/src/modules/sca/sca_hash.c b/src/modules/sca/sca_hash.c
index 3e96bc2be5..690e9a39e5 100644
--- a/src/modules/sca/sca_hash.c
+++ b/src/modules/sca/sca_hash.c
@@ -205,7 +205,7 @@ sca_hash_entry *sca_hash_table_slot_kv_find_entry(sca_hash_slot *slot,
str *key)
sca_hash_entry *e;
lock_get(&slot->lock);
- e = sca_hash_table_slot_kv_find_entry(slot, key);
+ e = sca_hash_table_slot_kv_find_entry_unsafe(slot, key);
lock_release(&slot->lock);
return (e);