[sr-dev] [kamailio/kamailio] rtpengine: remove square brackets from IPv6 address for getaddrinfo (#2685)

Dennis notifications at github.com
Mon Mar 22 12:41:33 CET 2021


@miconda 
>>have you checked that setting 0 in place of ] is not having other side effects? I didn't notice any restore.

Yes, hp - is a pointer to pkg_malloc-ed hostname variable, this var is freed right after getaddrinfo and not used any more.
I tested this patch localy, work as expected.



-- 
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/2685#issuecomment-803997847
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210322/78832982/attachment.htm>


More information about the sr-dev mailing list