[sr-dev] git:master:bd92fb59: sca: call unsafe find entry function to avoid infinite recursion
Daniel-Constantin Mierla
miconda at gmail.com
Wed Sep 8 13:31:47 CEST 2021
Module: kamailio
Branch: master
Commit: bd92fb59cce183008956ff060911cc14d3dfb160
URL: https://github.com/kamailio/kamailio/commit/bd92fb59cce183008956ff060911cc14d3dfb160
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/bd92fb59cce183008956ff060911cc14d3dfb160.diff
Patch: https://github.com/kamailio/kamailio/commit/bd92fb59cce183008956ff060911cc14d3dfb160.patch
---
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);
More information about the sr-dev
mailing list