OpenBSD src changes summary for 2017-08-02 ==========================================
lib/libunwind regress/libexec sbin/dhclient share/man sys/dev sys/dev/usb sys/dev/wscons sys/kern sys/net sys/net80211 sys/netinet usr.bin/less usr.bin/mandoc usr.bin/tmux usr.sbin/syspatch == lib =============================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libunwind ~ include/libunwind.h > Fix register numbering for OpenBSD/i386. Make exception handling work with > clang on that platform. > ok millert@ (kettenis@) == regress =========================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress libexec ~ ld.so/dlclose/test1/libbb/Makefile ~ ld.so/dlclose/test1/libbb/bb.c + ld.so/dlclose/test1/libbb/bbb.c > Split up source code to keep clang from optimizing this into failure. > ok millert@ (kettenis@) == sbin ============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ kroute.c > Delete duplicated switch {} case: block. (krw@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/run.4 > List D-Link DWA-130 rev F1 as a supported run(4) device. > Patch by Jacqueline Jolicoeur > ok deraadt (stsp@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys dev ~ midi.c TAGGED OPENBSD_6_0 > Remove SIGIO support. The audio(4) driver doesn't implement it either and > the preferred method to access MIDI hardware is through sndiod(8) which > doesn't use it. > Fixes a potential issue with a stale struct proc pointer found by Ilja van > Sprundel. > errata 015 (deraadt@) dev/usb ~ uhid.c TAGGED OPENBSD_6_0 > Remove SIGIO support. Base tools do not implement it and ports relying > on libusbhid, generally via SDL, shouldn't do it either since it's not > portable. > Suggested by deraadt@ after Ilja van Sprundel reported an issue with a > stale struct proc pointer in similar code. > errata 029 (deraadt@) ~ uhid.c TAGGED OPENBSD_6_0 > Remove SIGIO support. Base tools do not implement it and ports relying > on libusbhid, generally via SDL, shouldn't do it either since it's not > portable. > Suggested by deraadt@ after Ilja van Sprundel reported an issue with a > stale struct proc pointer in similar code. > errata 029 > (missed a piece) (deraadt@) ~ usbdevs TAGGED OPENBSD_6_0 > Add device ID for D-Link DWA-130 rev F. > Patch by Jacqueline Jolicoeur > ok deraadt (stsp@) ~ usbdevs.h ~ usbdevs_data.h TAGGED OPENBSD_6_0 > regen (stsp@) ~ if_run.c TAGGED OPENBSD_6_0 > Match D-Link DWA-130 rev F1 devices. These work with run(4). > Patch by Jacqueline Jolicoeur > ok deraadt (stsp@) dev/wscons ~ wsdisplay.c TAGGED OPENBSD_6_0 > Prevent integer overflow in WSDISPLAYIO_LDFONT ioctl. > Issue found by Ilja van Sprundel. > errata 37 (deraadt@) kern ~ subr_log.c TAGGED OPENBSD_6_0 > Both syslog(3) and syslogd(8) truncate the message at 8192 bytes. > Do the same in sendsyslog(2). > reported by Ilja Van Sprundel > errata 30 (deraadt@) ~ kern_descrip.c TAGGED OPENBSD_6_0 > Initialize a local variable to not leak kernel stack info to userland > if TIOCGPGRP fail. > Issue found by Ilja van Sprundel. > errata 36 (deraadt@) ~ sys_process.c TAGGED OPENBSD_6_0 > Uninitialized variable can leak kernel memory. > Found by Ilja Van Sprundel > errata 35 (deraadt@) ~ vfs_getcwd.c TAGGED OPENBSD_6_0 > Add some sanity length checks in VFS directory scan. This protects > us from bogus input from file systems like fuse. > bug report Ilja Van Sprundel > errata 031 (deraadt@) ~ uipc_socket.c TAGGED OPENBSD_6_0 > If pool_get() sleeps while allocating additional memory for socket > splicing, another process may allocate it in the meantime. Then > one of the splicing structures leaked in sosplice(). Recheck that > no struct sosplice exists after a protential sleep. > reported by Ilja Van Sprundel > errata 038 (bluhm@) ~ uipc_syscalls.c TAGGED OPENBSD_6_0 > Move KTRPOINT call up. The lenght variable i is getting aligned and so > uninitialised data can be dumped into the ktrace message. > Found by Ilja Van Sprundel > errata 032 (bluhm@) ~ uipc_syscalls.c TAGGED OPENBSD_6_0 > When receiving a struct sockaddr from userland, enforce that memory > for sa_len and sa_family is provided. This will make handling of > socket name mbufs within the kernel safer. > issue reported by Ilja Van Sprundel > errata 034 (bluhm@) net ~ route.c ~ rtsock.c > Move a sanity check that only makes sense for userland where it belongs. > ok bluhm@, florian@ (mpi@) ~ route.h ~ rtable.h > Fix rtable regression tests. (mpi@) net80211 ~ ieee80211_pae_input.c TAGGED OPENBSD_6_0 > Fix length checks in EAPOL key frame parsing. > Problem reported by Ilja Van Sprundel. > errata 39 (deraadt@) ~ ieee80211_ioctl.c TAGGED OPENBSD_6_0 > Plug an information leak in ieee80211_node2req(). > Problem reported by Ilja Van Sprundel. > errata 039 (bluhm@) netinet ~ tcp_usrreq.c TAGGED OPENBSD_6_0 > With an invalid address family in the connect address, tcp_usrreq() > may take an unintended code path. Return error EAFNOSUPPORT instead. > Found by Ilja Van Sprundel > errata 033 (bluhm@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin less ~ pattern.c ~ search.c > When performing an inverted search in less, make sure to invalidate the > match > bounds prior calling regexec(). In this inverted scenario a match is found > when > regexec() returns false causing the bounds to not be updated. This is > problematic since the bounds will then refer to a previous match and future > pointer arithmetic will eventually be off which is manifested in a SIGSEGV. > Issue reported by Larry Hynes on tech@ > ok martijn@ tb@ (anton@) mandoc ~ mansearch.c ~ mdoc_validate.c > No longer use names that only occur in the SYNOPSIS section as names > for man(1) lookup. For OpenBSD base and Xenocara, that functionality > was never intended to be required, and i just fixed the last handful > of offenders using it - not counting the horribly ill-designed > interfaces engine(3) and lh_new(3) which are impossible to properly > document in the first place. > Of course, apropos(1) and whatis(1) continue to use SYNOPSIS .Nm, > .Fn, and .Fo macros, so "man -k ENGINE_get_load_privkey_function" > still works. > This change also gets rid of a few bogus warnings "cross reference > to self" which actually are *not* to self, like in yp(8). > This former functionality was intended to help third-party software > in the ports tree and on non-OpenBSD systems containing manual pages > with incomplete or corrupt NAME sections. But it turned out it did > more harm than good, and caused more confusion than relief, > specifically for third party manuals and for maintainers of > mandoc-portable on other operating systems. So kill it. > Problems reported, among others, by Yuri Pankov (illumos). > OK jmc@ (schwarze@) tmux ~ format.c ~ tmux.1 ~ tmux.h ~ window-copy.c > Add selection_present format so commands in copy mode can use it, GitHub > issue 1028. (nicm@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin syspatch ~ syspatch.sh > Only run mtree if we install a patch. (ajacoutot@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
