[sr-dev] [kamailio/kamailio] Crash in permissions module (#2151)
Victor Seva
notifications at github.com
Wed Nov 27 11:04:16 CET 2019
can you try with this patch applied
```
diff --git a/src/modules/permissions/permissions.c b/src/modules/permissions/permissions.c
index 7505bb3dd..dfb5a4afc 100644
--- a/src/modules/permissions/permissions.c
+++ b/src/modules/permissions/permissions.c
@@ -648,8 +648,10 @@ static int mod_init(void)
static int child_init(int rank)
{
- if (init_child_trusted(rank) == -1)
- return -1;
+ if (_perm_load_backends&PERM_LOAD_TRUSTEDDB) {
+ if (init_child_trusted(rank) == -1)
+ return -1;
+ }
return 0;
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2151#issuecomment-559018694
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191127/fa2a4042/attachment.html>
More information about the sr-dev
mailing list