[sr-dev] [kamailio/kamailio] registrar: fix xavp_rcd memory consumption (#1111)

Daniel-Constantin Mierla notifications at github.com
Mon May 15 15:12:48 CEST 2017


While looking at the t_continue() I discovered that it may overwrite a previous set faked environment, which can happen if the function is used in failure_route, as a result xavps/avps lists can be lost without being freed. With the commit 9ff4dd36ad63f60905a49f8c0e437f997e54ae70, this situation should be solved.

I am not sure this is solving your case, but it would be good if you test with this patch.

I am also going to look at the registrar module to see if I spot something wrong there. Deleting the xavps in the module as proposed by this pull request is not the proper solution, it may be a workaround for some specific case, but not fixing the real cause.

-- 
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/pull/1111#issuecomment-301470607
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170515/6004c8e8/attachment.html>


More information about the sr-dev mailing list