OpenBSD/src o6u0FDWgnu/usr.bin/cvs Makefile.bsd-wrapper

   the macintosh subdir was removed from cvs in 1999

   ok jcs@
VersionDeltaFile
1.61+2-2gnu/usr.bin/cvs/Makefile.bsd-wrapper
+2-21 files

OpenBSD/src qbfJQN5sbin/dhcpleased engine.c

   Do not try to configure 0.0.0.0 (INADDR_ANY) on an interface.

   If we indicate a preference for IPv6-only (DHCP option 108), the
   server does not offer an IP address (indicated by INADDR_ANY), so we
   must first check if the server supported option 108 before checking if
   we received an IPv4 offer.

   Logic error pointed out and diff provided by acts1631 at proton.me,
   thanks!
VersionDeltaFile
1.70+10-5sbin/dhcpleased/engine.c
+10-51 files

OpenBSD/src tj4HeK9lib/libcrypto/x509 x509_verify.c

   Don't drop X509_V_ERR_HOSTNAME_MISMATCH when verify callback returns 1

   While not the advised way of using the verify callback (either by OpenSSL
   or by us) in production, sometimes folks like to return 1 from everything
   in the callback and then check the error return and make decicions about
   things.

   This fix ensures that such callbacks will see the hostname mismatch and
   be able to act upon them.

   Reported by Alexander Aleksandrovic Klimov
   ok tb@
VersionDeltaFile
1.79+5-2lib/libcrypto/x509/x509_verify.c
+5-21 files

OpenBSD/src VfTLlWMusr.sbin/bgpd bgpd.conf.5

   RTR sessions support tcp md5sig. Add the config bits to the manpage.

   Noticed by job@
   OK tb@
VersionDeltaFile
1.256+14-2usr.sbin/bgpd/bgpd.conf.5
+14-21 files

OpenBSD/src qBvfe3Isys/arch/arm64/arm64 cpu.c

   Avoid potential null-pointer dereference in calculation of CPU "capacity".

   ok jsg@
VersionDeltaFile
1.150+5-4sys/arch/arm64/arm64/cpu.c
+5-41 files

OpenBSD/src gEjp60Zshare/man/man4/man4.armv7 amdisplay.4

   sync config lines and use .Cd not .Nm
VersionDeltaFile
1.5+5-5share/man/man4/man4.armv7/amdisplay.4
+5-51 files

OpenBSD/src XWXwkzcregress/usr.bin/mandoc/db/makewhatis Makefile, regress/usr.bin/mandoc/db/out topt.dout

   Do not hardcode /usr/src/ in one of the files containing desired output.
   This is expected to fix a test failure that anton@ reported with BSDSRCDIR set.
VersionDeltaFile
1.2+3-3regress/usr.bin/mandoc/db/out/topt.dout
1.2+3-2regress/usr.bin/mandoc/db/makewhatis/Makefile
+6-52 files

OpenBSD/src JXxFEoJlib/libcrypto/man EC_GROUP_check.3

   fix a double word; ok tb@
VersionDeltaFile
1.7+3-3lib/libcrypto/man/EC_GROUP_check.3
+3-31 files

OpenBSD/src ol9kZtlsys/kern uipc_syscalls.c

   Fix control message handling in recvit to avoid out of bounds write
   to userland

   Because of the use of a unsigned variable to track the length of the
   control buffer recvit can underflow that variable because of an unchecked
   ALIGN(). This can be triggered by passing a too short buffer that is not a
   multiple of _ALIGNBYTES + 1. In such a case the kernel copies out data past
   the provided buffer.

   On top of addding the missing overflow check this also uses the proper
   socklen_t type for the msg_controllen and uses an unsigned int for the
   still overloaded variable i.

   The security implications of this are mainly theoretical.  The correct use
   of control message handling requires the use of CMSG_SPACE which ensures
   the buffer size is properly rounded. In base only dig uses a buffer that
   is not correctly rounded at the same time it is oversized enough to not
   matter.


    [2 lines not shown]
VersionDeltaFile
1.228+19-12sys/kern/uipc_syscalls.c
+19-121 files

OpenBSD/src lg6Rzumusr.sbin/smtpd mail.mboxfile.8

   MAIL.MDA -> MAIL.MBOXFILE
VersionDeltaFile
1.2+3-3usr.sbin/smtpd/mail.mboxfile.8
+3-31 files

OpenBSD/src gQcTrB6share/man/man4/man4.powerpc64 opalcons.4

   OPALSENS -> OPALCONS
VersionDeltaFile
1.2+3-3share/man/man4/man4.powerpc64/opalcons.4
+3-31 files

OpenBSD/src 5oOR3Gbusr.bin/find ls.c

   find: check localtime() return before calling strftime on it

   landry saw "find dir -ls" crash with fs corruption. dgl reproduced with
     touch foo && perl -e'utime 2**63, 2**63, "foo"' && find foo -ls
   which could have been added to regress if there was any...

   ok deraadt
VersionDeltaFile
1.19+5-3usr.bin/find/ls.c
+5-31 files

OpenBSD/src k0kPJDiusr.sbin/rpki-client cms.c

   rpki-client: reject some signed objects with BER encoding

   ARIN finally fixed their shit and no longer distributes malformed ROAs.
   Detect one symptom of their malformedness. This is a very unsatisfactory
   kludge since it only detects indefinite length encoding at the outermost
   layer, but this will hopefully help avoid regressions. libcrypto's ASN.1
   parser is not going to help making the world a cleaner place.

   fine with claudio, ok job
VersionDeltaFile
1.61+18-2usr.sbin/rpki-client/cms.c
+18-21 files

OpenBSD/src lwsMkgKusr.sbin/rpki-client x509.c

   rpki-client: unconditionally warn about incorrect RSA parameters

   Now that ARIN have fixed their old ROAs, this encoding no longer occurs
   in the wild, so enabling this warning does no harm. Ideally we'd error,
   but a Postel-inspired MUST that has been sprinkled across numerous RFCs
   ensured that this had to be tolerated for more than a quarter of a century
   and will continue to be for at least another one.

   discussed with claudio job
VersionDeltaFile
1.134+2-6usr.sbin/rpki-client/x509.c
+2-61 files

OpenBSD/src qny42yMlib/libc/sys recv.2

   change iovec markup from .Fa to .Vt

   refers to a struct, not the name of a field
   ok schwarze@
VersionDeltaFile
1.55+3-3lib/libc/sys/recv.2
+3-31 files

OpenBSD/src FzSR4s7share/man/man9 loadfirmware.9

   firmware is an uncountable noun, avoid indefinite article
   ok tb@ sobrado@ schwarze@
VersionDeltaFile
1.5+3-3share/man/man9/loadfirmware.9
+3-31 files

OpenBSD/src efawI23regress/usr.bin/mandoc/db README, regress/usr.bin/mandoc/db/makewhatis Makefile

   new tests for makewhatis(8) command line arguments
   and for its various operation modes
VersionDeltaFile
1.1+106-0regress/usr.bin/mandoc/db/makewhatis/Makefile
1.1+79-0regress/usr.bin/mandoc/db/out/dopt.dout
1.1+69-0regress/usr.bin/mandoc/db/out/uopt.dout
1.1+57-0regress/usr.bin/mandoc/db/out/dirarg.dout
1.1+38-0regress/usr.bin/mandoc/db/README
1.1+4-0regress/usr.bin/mandoc/db/out/topt.dout
+353-02 files not shown
+357-28 files

OpenBSD/src RqkZX1qusr.bin/tmux layout.c

   Fix tiled pane resizing with floating layout cells, reported by Kevin
   Hovsäter.
VersionDeltaFile
1.98+23-16usr.bin/tmux/layout.c
+23-161 files

OpenBSD/src Es8PlLVshare/man/man5 port-modules.5

   fix alphabetical order of module names, no text change:
   cabal and cargo before cmake and wayland before www
VersionDeltaFile
1.288+24-24share/man/man5/port-modules.5
+24-241 files

OpenBSD/src BFZE8Lushare/man/man8 release.8

   Most dictionaries list the noun "firmware" as uncountable,
   so avoid the plural form.
   OK jsg@ ian@  and also agrees with jmc@'s past practice.
   Minor issue found by jsg@.
VersionDeltaFile
1.102+3-3share/man/man8/release.8
+3-31 files

OpenBSD/src mP2Jd1Olib/libc/arch/aarch64/hash sha512_aarch64.c sha256_aarch64.c

   Consistently test against zero.
VersionDeltaFile
1.2+2-2lib/libc/arch/aarch64/hash/sha512_aarch64.c
1.2+2-2lib/libc/arch/aarch64/hash/sha256_aarch64.c
+4-42 files

OpenBSD/src z7aAOYVlib/libc/arch/aarch64/hash Makefile.inc sha1_aarch64.c, lib/libc/hash sha1.c

   Provide assembly implementation of SHA-1 for aarch64 in libc

   Provide a CE assembly implementation that can be used on hardware that
   has the CE SHA-1 instructions. This is considerably faster than the
   generic C implementation.

   Largely borrowed from libcrypto.

   With input from naddy@

   ok naddy@ tb@
VersionDeltaFile
1.1+219-0lib/libc/arch/aarch64/hash/sha1_aarch64_ce.S
1.1+34-0lib/libc/arch/aarch64/hash/sha1_aarch64.c
1.32+4-2lib/libc/hash/sha1.c
1.5+5-1lib/libc/hidden/sha1.h
1.3+3-1lib/libc/arch/aarch64/hash/Makefile.inc
+265-45 files

OpenBSD/src UHV71jjsbin/dhcpleased engine.c

   Validate the IP address the dhcp server acks.

   acts1631 at proton.me points out that a rogue dhcp server can trick
   dhcpleased into holding on to a lease indefinitely since it looses
   track which IP is actually configured.

   Diff provided by acts1631 as well, thanks!

   While here, remove checking for yiaddr being absent (i.e. INADDR_ANY)
   because that check is now redundant.
VersionDeltaFile
1.69+9-5sbin/dhcpleased/engine.c
+9-51 files

OpenBSD/src 6VF3vM3usr.sbin/rpki-client ccr.c extern.h

   Make ASN.1 helper function to copy strings available to other compilation units

   OK tb@
VersionDeltaFile
1.291+4-1usr.sbin/rpki-client/extern.h
1.44+2-2usr.sbin/rpki-client/ccr.c
+6-32 files

OpenBSD/src afMXv9musr.bin/tmux tty-term.c tmux.h

   Add a clear-on-attach option which when turned off scrolls away the
   existing terminal state instead of entering the alternate screen. This
   is useful in environments where tmux is started as a login shell but it
   is important that any pre-tmux messages are still visible. GitHub issue
   5508 from Josef Řídký.
VersionDeltaFile
1.480+22-6usr.bin/tmux/tty.c
1.1159+11-2usr.bin/tmux/tmux.1
1.243+11-1usr.bin/tmux/options-table.c
1.109+2-1usr.bin/tmux/tty-term.c
1.1431+2-1usr.bin/tmux/tmux.h
+48-115 files

OpenBSD/src uOEESSSusr.bin/tmux sort.c window-switch.c

   Do not pass NULL to qsort, and add checks for invalid session or window
   after swap.
VersionDeltaFile
1.96+5-1usr.bin/tmux/window-tree.c
1.3+3-2usr.bin/tmux/window-switch.c
1.10+2-2usr.bin/tmux/sort.c
+10-53 files

OpenBSD/src gsM99Zjusr.bin/tmux server-client.c

   Do not leak exit message on client free, from Jeong, Heon.
VersionDeltaFile
1.508+3-3usr.bin/tmux/server-client.c
+3-31 files

OpenBSD/src knzAexCusr.bin/tmux window-panes.c cmd-run-shell.c

   Tidy up args_make_commands reference counting to fix a memory leak, from
   Jeong, Heon.
VersionDeltaFile
1.67+4-4usr.bin/tmux/arguments.c
1.87+4-1usr.bin/tmux/cmd-if-shell.c
1.94+3-1usr.bin/tmux/cmd-run-shell.c
1.76+3-1usr.bin/tmux/cmd-command-prompt.c
1.5+2-1usr.bin/tmux/window-panes.c
+16-85 files

OpenBSD/src EeBwOyzlib/libc/stdlib icdb_new.3

   ICBB -> ICDB
VersionDeltaFile
1.3+2-2lib/libc/stdlib/icdb_new.3
+2-21 files

OpenBSD/src yCDOHvSlib/libc/sys recv.2

   remove a misplaced 'an'
   ok schwarze@ claudio@ krw@
VersionDeltaFile
1.54+3-3lib/libc/sys/recv.2
+3-31 files