OpenBSD cvs log

created 2018-12-02T20:41:48Z
begin 2018-11-05T00:00:00Z
end 2018-11-06T00:00:00Z
path src/sys
commits 6

date 2018-11-05T10:06:10Z
author claudio
files src/sys/netinet/ip_icmp.c log diff annotate
message Fixup the case where an mbuf cluster is used. Correctly offset the data to
the end of the cluster (there is no M_ALIGN version for clusters so it is
hard coded). Also make the sanity check more general by using m_leadingspace.
Not a security issue since the cluster code is not reachable, there is enough
space in an mbuf.
OK bluhm@

date 2018-11-05T15:13:56Z
author kn
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/dev/pci/puc.c log diff annotate
message Fix kernel build without serial console

OK mpi

date 2018-11-05T17:05:50Z
author anton
files src/sys/kern/kern_descrip.c log diff annotate
src/sys/sys/ktrace.h log diff annotate
message trace struct flock; ok visa@

date 2018-11-05T20:52:22Z
author bluhm
files src/sys/netinet/ip_icmp.c log diff annotate
message Consider the size of IP header when doing the ICMP length overflow
check. This code was never reached as ICMP length was truncated
before, but fix the wrong calculation anyway.
OK claudio@

date 2018-11-05T21:50:39Z
author claudio
files src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet/ip_icmp.h log diff annotate
message In icmp_input_if() m_pullup up the maximum size of required data at the start.
The maximum is ICMP_MINLEN (8) + max IPv4 header size (60) + IPv6 header (40)
for the IPv6 over IPv4 transition case. By having up to this amount of data
consequtive in an mbuf makes the rest of the code simpler and no more extra
m_pullup calls are needed. Only length checks are now required.The maximum
size is also big enough for all other ICMP types that don't embed the IP
heaader. This ensures that all data has been m_pullup-ed before calling the
ctlinput function which can look that deep into the header.
OK bluhm@ markus@

date 2018-11-05T23:38:04Z
author bru
files src/sys/dev/wscons/wstpad.c log diff annotate
message Improve the filters for scrolling.

ok mpi@