OpenBSD/src tNmTVXpsbin/isakmpd message.c

   isakmpd: Fix NULL dereference in message_validate_sa()

   When the responder cookie is non-zero but sa_lookup_by_header()
   finds no matching SA, msg->isakmp_sa is NULL.  Thus check before
   dereferencing.
VersionDeltaFile
1.134+3-2sbin/isakmpd/message.c
+3-21 files

OpenBSD/src mLQrmbpregress/usr.bin/ssh sshsig.sh

   Use awk instead of cut to help -portable.

   Some platforms have size limits on cut.
VersionDeltaFile
1.17+4-4regress/usr.bin/ssh/sshsig.sh
+4-41 files

OpenBSD/src 9aC4R2pusr.bin/tmux window-visible.c screen-redraw.c

   Rename the visible ranges functions since they really relate to windows
   and put them nto a new file.
VersionDeltaFile
1.1+224-0usr.bin/tmux/window-visible.c
1.142+5-204usr.bin/tmux/screen-redraw.c
1.271+14-19usr.bin/tmux/screen-write.c
1.1356+6-4usr.bin/tmux/tmux.h
1.53+3-4usr.bin/tmux/cmd-display-panes.c
1.473+3-3usr.bin/tmux/server-client.c
+255-2341 files not shown
+257-2357 files

OpenBSD/src RRwNTqausr.bin/tmux window-copy.c

   Allow rectangle selection to extend past end of current line to behave
   the same as vi with virtualedit=block set. From Mark Kelly in GitHub
   issue 5227.
VersionDeltaFile
1.407+7-3usr.bin/tmux/window-copy.c
+7-31 files

OpenBSD/src XtZdJAwregress/usr.bin/ssh/unittests/crypto test_ed25519.c test_mldsa.c

   Include stdarg.h for va_list (needed for xmalloc.h).
VersionDeltaFile
1.2+2-1regress/usr.bin/ssh/unittests/crypto/test_ed25519.c
1.2+2-1regress/usr.bin/ssh/unittests/crypto/test_mldsa.c
+4-22 files

OpenBSD/src 19HqmoRusr.bin/tmux cmd-new-window.c

   Initialize wname so it we are not freeing garbage if it is not used.
VersionDeltaFile
1.100+2-2usr.bin/tmux/cmd-new-window.c
+2-21 files

OpenBSD/src oIkN1Ayusr.bin/tmux cmd-resize-pane.c server-client.c

   Fix resizing floating pane with a left scrollbar, from Michael Grant.
VersionDeltaFile
1.59+19-7usr.bin/tmux/cmd-resize-pane.c
1.472+17-7usr.bin/tmux/server-client.c
+36-142 files

OpenBSD/src HF7BBhiusr.bin/tmux screen-redraw.c

   Fix missing border when drawing floating panes. From Michael Grant.
VersionDeltaFile
1.141+13-14usr.bin/tmux/screen-redraw.c
+13-141 files

OpenBSD/src lZ6G99Uregress/usr.bin/ssh/unittests/crypto tests.c

   Include stdlib.h for malloc/free and sort headers.
VersionDeltaFile
1.2+3-2regress/usr.bin/ssh/unittests/crypto/tests.c
+3-21 files

OpenBSD/src 1045Mhhusr.bin/tmux cmd-break-pane.c

   Fix default window check in break-pane, from Dane Jensen.
VersionDeltaFile
1.68+2-2usr.bin/tmux/cmd-break-pane.c
+2-21 files

OpenBSD/src GnvZKrausr.bin/tmux layout.c

   Add layout_cell_is_tiled and layout_cell_has_tiled_child helper
   functions, from Dane Jensen.
VersionDeltaFile
1.71+76-21usr.bin/tmux/layout.c
+76-211 files

OpenBSD/src D3tWv2Jusr.bin/tmux tmux.1

   botton -> bottom
VersionDeltaFile
1.1092+2-2usr.bin/tmux/tmux.1
+2-21 files

OpenBSD/src 2jKiU8ausr.bin/vi/vi v_sentence.c

   Fix behavior of ')' used in a range when setence reaches EOF.

   For a sentence spanning more than one line at the end of the file,
   when the cursor is placed at the first character of any line except
   for the last one, running '!)<cmd>' won't affect the last line.

   From Walter Alejandro Iglesias
VersionDeltaFile
1.12+18-4usr.bin/vi/vi/v_sentence.c
+18-41 files

OpenBSD/src Gp9AvQMusr.bin/vi/ex ex.c

   Check for E_CLRFLAG in ecp->cmd->flags, not ecp->iflags.

   Fixes a problem where an extra line is printed at the end of the
   output when the "number" command is given the "l" (literal display)
   flag.

   From Jeremy Mates Walter Alejandro Iglesias and
VersionDeltaFile
1.25+2-2usr.bin/vi/ex/ex.c
+2-21 files

OpenBSD/src sRmxW5Busr.bin/tmux screen-redraw.c window.c

   Rename window_pane_visible to match other functions, from Dane Jensen.
VersionDeltaFile
1.140+8-8usr.bin/tmux/screen-redraw.c
1.341+6-6usr.bin/tmux/window.c
1.114+2-2usr.bin/tmux/input-keys.c
1.52+2-2usr.bin/tmux/cmd-display-panes.c
1.75+2-2usr.bin/tmux/cmd-select-pane.c
1.1355+2-2usr.bin/tmux/tmux.h
+22-226 files

OpenBSD/src RCd9mMausr.bin/tmux cmd-new-session.c cmd-new-window.c

   Be more strict about what names and titles we allow and reject them
   immediately when possible, but allow # again for those directly set by
   commands (but not escape sequences). From Barrett Ruth in GitHub issue
   5175.
VersionDeltaFile
1.150+36-24usr.bin/tmux/cmd-new-session.c
1.99+26-9usr.bin/tmux/cmd-new-window.c
1.67+15-10usr.bin/tmux/cmd-break-pane.c
1.218+20-1usr.bin/tmux/tmux.c
1.40+6-12usr.bin/tmux/spawn.c
1.103+11-5usr.bin/tmux/screen.c
+114-6111 files not shown
+161-9817 files

OpenBSD/src Gxewrvvusr.bin/tmux screen-redraw.c cmd-join-pane.c

   Add pane-border-lines none like popups (-B to new-pane).
VersionDeltaFile
1.139+36-10usr.bin/tmux/screen-redraw.c
1.63+17-13usr.bin/tmux/cmd-join-pane.c
1.339+15-6usr.bin/tmux/window.c
1.471+8-1usr.bin/tmux/server-client.c
1.70+3-2usr.bin/tmux/layout.c
1.1353+3-2usr.bin/tmux/tmux.h
+82-342 files not shown
+87-378 files

OpenBSD/src igXhZEZusr.sbin/rpki-client cert.c

   rpki-client: reject certs with duplicate extension OIDs

   We check this for extensions we know about in cert_parse_extensions().
   We keep doing it there since we need to keep track of the extensions we
   encountered anyway.

   While cert_parse_extensions() rejects certs with critical extensions we
   don't know about, we allow duplicate non-critical ones mainly because
   that's annoying to keep track of. LibreSSL's libcrypto checks for this
   and rejects the cert when caching the extensions, OpenSSL 4 adds a new
   EXFLAG_DUPLICATE flag and accepts the cert, and OpenSSL 3 simply ignores
   duplicates. In short: we get to do it ourselves.

   This check is basically lifted from libcrypto's x509_purp.c with a few
   extra contortions due to const sprinkling and making things opaque. The
   warnx is the same as the one already present in cert_parse_extensions().

   We do not NULL check X509_EXTENSION_get_object() because the extension
   parsed, so an OID is present.

    [2 lines not shown]
VersionDeltaFile
1.239+66-1usr.sbin/rpki-client/cert.c
+66-11 files

OpenBSD/src mcxPAhnsbin/dhcpleased dhcpleased.h dhcpleased.c, usr.sbin/dhcpleasectl dhcpleasectl.c

   Prevent the engine from sending us a negative amount of routes.

   Pointed out by Andrew Griffiths, thanks!
VersionDeltaFile
1.21+2-2sbin/dhcpleased/dhcpleased.h
1.45+2-2sbin/dhcpleased/dhcpleased.c
1.4+2-2sbin/dhcpleased/engine.h
1.14+2-2usr.sbin/dhcpleasectl/dhcpleasectl.c
+8-84 files

OpenBSD/src xWClWNhsbin/dhcpleased dhcpleased.c

   We need to accept one more route from the engine process.

   Off-by-one pointed out by Andrew Griffiths, thanks!
VersionDeltaFile
1.44+4-4sbin/dhcpleased/dhcpleased.c
+4-41 files

OpenBSD/src TQDswRksbin/dhcpleased engine.c

   Make sure UDP header length field at least covers the UDP header.

   We clamp the amount of data we are willing to parse to the length of
   the UDP packet as indicated by the UDP header length field. While we
   made sure that the length field did not point past the received data,
   we never checked if the length is smaller than the udp header. Since
   we are using BPF, the kernel also does not doe this for us. This might
   in turn lead to an underflow and a subsequent crash of the engine
   process.

   Pointed out and diff provided by Andrew Griffiths, thanks!
VersionDeltaFile
1.65+4-1sbin/dhcpleased/engine.c
+4-11 files

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

   If the client is blocked, defer the redraw because it may end up
   partially discarded leading to redraw artifacts.
VersionDeltaFile
1.470+8-3usr.bin/tmux/server-client.c
+8-31 files

OpenBSD/src cMSOEgHusr.bin/tmux screen-write.c

   Convert cursor position back to pane coordinates for tty_cmd_cell.
VersionDeltaFile
1.270+2-2usr.bin/tmux/screen-write.c
+2-21 files

OpenBSD/src tarRiu4usr.sbin/rpki-client repo.c rsync.c

   Add some guardrails to rsync_base_uri() against future programmer error

   OK tb@
VersionDeltaFile
1.84+3-3usr.sbin/rpki-client/repo.c
1.64+3-1usr.sbin/rpki-client/rsync.c
+6-42 files

OpenBSD/src eM0Hsddregress/usr.sbin/rpki-client Makefile.inc, usr.sbin/rpki-client rsync.c validate.c

   Tighten well-formedness checks on AIA & SIA extensions in certs

   Valid Rsync URIs always contain a module component.

   To avoid duplication of URI validation code, refactor rsync_base_uri()
   to optionally allocate & dup the base URI portion.

   Thanks to Ties de Kock for reporting.

   OK tb@ claudio@
VersionDeltaFile
1.63+26-21usr.sbin/rpki-client/rsync.c
1.84+7-1usr.sbin/rpki-client/validate.c
1.83+3-3usr.sbin/rpki-client/repo.c
1.282+2-2usr.sbin/rpki-client/extern.h
1.48+2-2regress/usr.sbin/rpki-client/Makefile.inc
+40-295 files

OpenBSD/src uJKrFcmsys/kern sysv_msg.c

   Drop unused 'struct proc' argument from msg_copyin() and msg_copyout().

   ok claudio
VersionDeltaFile
1.42+7-7sys/kern/sysv_msg.c
+7-71 files

OpenBSD/src UgodqTlregress/sys/kern/sysvmsg msgtest.c

   Make functions arguments list to be newer than K&R. Otherwise modern
   Clang compiler produces warnings.

   ok claudio
VersionDeltaFile
1.8+6-10regress/sys/kern/sysvmsg/msgtest.c
+6-101 files

OpenBSD/src SArxaqLusr.bin/tmux screen-redraw.c

   Tidy up screen_redraw_get_visible_ranges by using a couple of
   temporaries for start and end of range.
VersionDeltaFile
1.138+17-23usr.bin/tmux/screen-redraw.c
+17-231 files

OpenBSD/src DKYxa4uusr.bin/tmux tty.c

   Use correct x position when drawing clipped line.
VersionDeltaFile
1.473+2-2usr.bin/tmux/tty.c
+2-21 files

OpenBSD/src E4icmNzsys/arch/sparc64/sparc64 autoconf.c

   sys/sparc64: accept ide nodes in IDE bootpaths

   OpenBIOS reports QEMU IDE disks with an intermediate ide node, while the
   sparc64 bootpath code only treats ata as a channel node.

   The disk is attached as wd0, but the final disk component is not nailed
   as the boot device, so the kernel asks for the root device.

   No QEMU level option seems possible to enforce ata disk.

   OK: claudio@
VersionDeltaFile
1.155+3-2sys/arch/sparc64/sparc64/autoconf.c
+3-21 files