[sr-dev] [kamailio/kamailio] Fix 2 issues that prevent auto_bind_ipv6 from happening on my setup (#2595)

Paul Komkoff notifications at github.com
Tue Jan 5 12:03:27 CET 2021


@theraphim commented on this pull request.



> @@ -1184,6 +1189,16 @@ static int build_iface_list(void)
 		nll = 0;
 		p = buf;
 		while(1) {
+			// This (and the loop above in get_flags) is
+			// broken in more than one aspect. For example,
+			// if a receive is shorter than nlmsghdr,
+			// nlp->nlmsg_type will point at garbage.
+			// Proper fix for this (and static buffer sizing
+			// problem) would be to use libnl.

Removed.

-- 
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/2595#discussion_r551862620
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210105/8cf6232d/attachment.htm>


More information about the sr-dev mailing list