@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
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev