CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2019/06/13 02:12:11

Modified files:
        sys/net        : route.c 
        sys/netinet    : in_proto.c 
        sys/netinet6   : in6_proto.c 
        sys/netmpls    : mpls_proto.c 
        sys/sys        : domain.h 

Log message:
Copy the user provided sockaddr into a normalized sockaddr in rtrequest()
before adding it to the routing table. The rtable code is doing memcmp()
of those rt_dest sockaddrs so it is important that they are stored in a
canonical form. To do this struct domain is extended to include the
sockaddr size for this address family.
OK bluhm@ anton@

Reported-by: syzbot+10fe9cd8d0211c562...@syzkaller.appspotmail.com

Reply via email to