Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/netinet




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/netinet

From: "Maxime Villard" <maxv%netbsd.org@localhost>

Date: Fri, 13 Apr 2018 09:29:04 +0000


Module Name:    src
Committed By:   maxv
Date:           Fri Apr 13 09:29:04 UTC 2018

Modified Files:
        src/sys/netinet: udp_usrreq.c

Log Message:
Improve the check, we want to have len >= udphdr all the time, and not
just when the packet size doesn't match the mbuf size.

Normally that's not a huge problem, since IP6_EXTHDR_GET gets called
earlier, so we can't have

        (ip_len == iphlen + len) && (len < sizeof(struct udphdr))


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/netinet/udp_usrreq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: src/sys/kern

Next by Date: CVS commit: src/sys/netipsec

Previous by Thread: CVS commit: src/sys/kern

Next by Thread: CVS commit: src/sys/netipsec

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index