[sr-dev] [kamailio/kamailio] Kamailio segfault in append_branch if q is missing (Issue #3113)
Daniel-Constantin Mierla
notifications at github.com
Tue May 17 12:43:25 CEST 2022
Using msg.call_function() should be avoided because is a hack to executed kamailio native config functions and can lead to crashes and memory leaks. It cannot be made completely safe due to custom optimisations done by kamailio native config interpreter, unless one goes one by one for each functions and analyses all kind of parameters and combinations. If you want to go that way, pull requests are welcome!
Otherwise, you should use the KEMI framework exported functions:
* https://www.kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/#corex
If you want to discuss more, then email to sr-users at lists.kamailio.org .
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3113#issuecomment-1128712077
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3113/1128712077 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220517/2b5913fb/attachment.htm>
More information about the sr-dev
mailing list