Hi Victor,
The patch does indeed fix the crash. I've been looking at `init_child_trusted()` and
should it not be safe to call it as written? This seems to be "safe":
```
if (!db_url.s) {
return 0;
}
db_handle = perm_dbf.init(&db_url);
if (!db_handle) {
LM_ERR("unable to connect database\n");
return -1;
}
```
I'm not that familiar with the inner workings of this particular module so perhaps the
best fix is the one you suggested.
Best regards,
Spencer
--
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-560514039