Source-Changes archive

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

CVS commit: src/sys/netinet6



Module Name:    src
Committed By:   maxv
Date:           Tue Jan 23 10:32:50 UTC 2018

Modified Files:
        src/sys/netinet6: icmp6.c

Log Message:
Fix info leak. We are allocating a slot of size:

        roundup(sizeof(*nd_opt) + ifp->if_addrlen, 8)

But we are not filling in the padding caused by the roundup, and therefore
several bytes are leaked, in the mbuf we're about to send to the network.


To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 src/sys/netinet6/icmp6.c

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




Home | Main Index | Thread Index | Old Index