OpenBSD/src 2z6JKifusr.bin/tmux mode-tree.c

   Add some checks on line size to avoid underflow, from san65384 at gmail
   dot com in GitHub issue 4955.
VersionDeltaFile
1.82+9-1usr.bin/tmux/mode-tree.c
+9-11 files

OpenBSD/src 3UBIi7jlib/libc/gen opendir.3

   correct history, dirfd() did not appear until tahoe
VersionDeltaFile
1.4+7-4lib/libc/gen/opendir.3
+7-41 files

OpenBSD/src MMJ6sJQregress/usr.sbin/rpki-client Makefile.inc, regress/usr.sbin/rpki-client/openssl Makefile

   rpki-client: add asn1_bit_string.c to TEST_COMMON. Prepare its use.
VersionDeltaFile
1.47+2-2regress/usr.sbin/rpki-client/Makefile.inc
1.11+3-1regress/usr.sbin/rpki-client/openssl/Makefile
1.8+3-1regress/usr.sbin/rpki-client/openssl/build/Makefile
+8-43 files

OpenBSD/src mGiG9B5usr.sbin/rpki-client asn1_bit_string.c extern.h

   rpki-client: add compat for BIT STRING accessors

   ASN.1 bit strings are DER encoded by zero-padding the bit string at the end
   to a length divisible by eight. The number of padding bits ("unused bits"),
   a number between 0 and 7, is stored in the first value octet, the remainder
   of the value octets are formed by the zero-padded bit string.

   Since asn1_string_st is opaque in OpenSSL 4, there need to be accessors for
   length and unused bits, which is what is added here. The getter assumes the
   ASN1_STRING_FLAG_BITS_LEFT flag is set on a bit string, which is always the
   case for deserialized bit strings. I prefer not to elaborate on the madness
   hiding here at this point in time...

   LibreSSL will likely add these accessors to libcrypto in the ongoing cycle,
   but we will need this compat code for OpenSSL and older LibreSSL anyway.

   The code is not yet used in rpki-client. The conversions will be committed
   soon.

   ok claudio job
VersionDeltaFile
1.1+96-0usr.sbin/rpki-client/asn1_bit_string.c
1.279+5-1usr.sbin/rpki-client/extern.h
1.40+2-1usr.sbin/rpki-client/Makefile
+103-23 files

OpenBSD/src yMxfYhCusr.bin/tmux control.c

   Do not leak cached last result from control subs, from Aaron Campbell in
   GitHub issue 5047.
VersionDeltaFile
1.54+3-1usr.bin/tmux/control.c
+3-11 files

OpenBSD/src DCtnxJ8usr.bin/tmux window-copy.c tmux.1

   Add support for line numbers in copy mode. A new copy-mode-line-numbers
   option has the following modes: off, default (tmux's normal line
   numbering where 0 is the top visible line), absolute (first line in
   history is 1), relative (relative to the cursor) and hybrid (current
   line is absolute, others relative). Also adds
   copy-mode-line-number-style and copy-mode-current-line-number-style to
   set the style of the line numbers. When copy mode is entered with the
   mouse, line numbers stay off.

   From Leo Henon in GitHub issue 5025.
VersionDeltaFile
1.396+326-23usr.bin/tmux/window-copy.c
1.1051+49-1usr.bin/tmux/tmux.1
1.209+31-2usr.bin/tmux/options-table.c
1.99+8-2usr.bin/tmux/screen.c
1.51+8-2usr.bin/tmux/cmd-copy-mode.c
1.1310+3-2usr.bin/tmux/tmux.h
+425-326 files

OpenBSD/src ZVciUkvusr.bin/tmux format.c

   Check time inside repeat (R:) loop as well.
VersionDeltaFile
1.362+19-9usr.bin/tmux/format.c
+19-91 files

OpenBSD/src 2bYDBKUregress/usr.sbin/bgpd/unittests rde_community_test.c

   Cope with recent const corrections.
VersionDeltaFile
1.11+2-2regress/usr.sbin/bgpd/unittests/rde_community_test.c
+2-21 files

OpenBSD/src wPx5MGlusr.sbin/bgpd rtr_proto.c

   In the rtr_reader_callback() make sure that the PDU length is not only
   smaller than RTR_MAX_PDU_SIZE but also larger than sizeof(struct rtr_header).

   Passing a too small value will trigger a fatal error later on which is
   not great. Also switch the type of len to size_t, there is no need for
   a signed value here.

   OK tb@
VersionDeltaFile
1.53+9-2usr.sbin/bgpd/rtr_proto.c
+9-21 files

OpenBSD/src gdd9dRDusr.sbin/bgpd rde_attr.c rde.h

   Add a bit of const to attr_writebuf(), aspath_get() and aspath_deflate().

   OK tb@
VersionDeltaFile
1.142+6-5usr.sbin/bgpd/rde_attr.c
1.346+4-4usr.sbin/bgpd/rde.h
+10-92 files

OpenBSD/src 6B2HMtLusr.sbin/bgpd logmsg.c

   Convert logit() to either log_warnx() or log_info() depending on the
   log level.

   OK sthen@ tb@
VersionDeltaFile
1.19+15-15usr.sbin/bgpd/logmsg.c
+15-151 files

OpenBSD/src wla2M82lib/libssl d1_both.c

   Refactor dtls1_do_write_handshake_message().

   If the call to dtls1_write_bytes() fails, handle the potential MTU update
   and return/continue, which allows for the remainder to be moved out of an
   else statement.

   ok kenjiro@ tb@
VersionDeltaFile
1.92+44-43lib/libssl/d1_both.c
+44-431 files

OpenBSD/src xCBRDeTusr.sbin/bgpd rde_filter.c

   In rde_filter_free() release the referenc to the rde_filterset by calling
   rde_filterset_unref() for every rule.

   OK tb@
VersionDeltaFile
1.149+6-1usr.sbin/bgpd/rde_filter.c
+6-11 files

OpenBSD/src tLUDAhgusr.sbin/bgpd log.c log.h

   Unexport vlog() from log.c nothing uses it outside of log.c.

   OK henning@
VersionDeltaFile
1.65+5-2usr.sbin/bgpd/log.c
1.21+1-3usr.sbin/bgpd/log.h
+6-52 files

OpenBSD/src nCdWe0Jusr.sbin/bgpctl log.c Makefile

   bgpctl: add log.c for bgpctl

   This provides log_{warn{,x},info,debug}() and fatal{,x}() implementations
   that wrap the err.h API. They are API compatile with bgpd's log.h and will
   help undo some contortions where we had to put log calls into weird spots
   because of code sharing between bgpd and bgpctl.

   ok claudio
VersionDeltaFile
1.1+82-0usr.sbin/bgpctl/log.c
1.22+2-2usr.sbin/bgpctl/Makefile
+84-22 files

OpenBSD/src iVz8Kfxsys/dev/pci/drm/i915 i915_driver.c

   disable GuC submission for Raptor Lake-S

   volker@ reports it fails to init on a desktop machine with a i9-14900K
VersionDeltaFile
1.30+3-2sys/dev/pci/drm/i915/i915_driver.c
+3-21 files

OpenBSD/src y9qiXhTusr.bin/ssh scp.c

   fiddle with mask after umask call and not before; avoids fortify
   warnings on android. bz3954
VersionDeltaFile
1.274+2-2usr.bin/ssh/scp.c
+2-21 files

OpenBSD/src 4fUklbylib/libexpat Changes, lib/libexpat/lib xmlparse.c internal.h

   Backport fixes from libexpat version 2.8.0.

   Relevant for OpenBSD are security fixes #47 #1183.  Library bump
   is not necessary.  CVE-2026-41080

   OK tb@
VersionDeltaFile
1.47+56-38lib/libexpat/lib/xmlparse.c
1.35+16-0lib/libexpat/Changes
1.17+2-0lib/libexpat/lib/internal.h
+74-383 files

OpenBSD/src DiCo1RWlib/libssl d1_both.c

   Split dtls1_do_write() into handshake message and CCS handling.

   dtls1_do_write() is currently a single function that handles both handshake
   messages and CCS. This is a strange mix that only serves to complicate the
   code - handshake messages have their own headers and may need to be
   fragmented, while CCS must be sent verbatim (and only contain a single
   byte). Pull the CCS part out into a separate function, simplifying the
   code. By definition, when sending a CCS message the MTU will already be
   set appropriately.

   ok kenjiro@ tb@
VersionDeltaFile
1.91+59-33lib/libssl/d1_both.c
+59-331 files

OpenBSD/src oXWqCYFlib/libssl d1_both.c

   Avoid unnecessary lookups in dtls1_retransmit_message().

   dtls1_retransmit_buffered_messages() is iterating over the sent_messages
   pqueue, only to pass dtls1_retransmit_message() a sequence number that it
   turns back into a priority, to then do a lookup on the sent_messages pqueue.
   This is pointless given that we already have the message that we need to
   retransmit - just pass that to dtls1_retransmit_message() directly.

   ok kenjiro@ tb@
VersionDeltaFile
1.90+6-37lib/libssl/d1_both.c
+6-371 files

OpenBSD/src AtFVF4nlib/libssl d1_both.c

   Remove unused frag_off argument from dtls1_retransmit_message().

   ok kenjiro@ tb@
VersionDeltaFile
1.89+3-4lib/libssl/d1_both.c
+3-41 files

OpenBSD/src RCExth0lib/libssl d1_both.c dtls_local.h

   Make dtls1_retransmit_message() static.

   This function is only called from dtls1_retransmit_buffered_messages().
   Make it static and move it above the caller.

   ok kenjiro@ tb@
VersionDeltaFile
1.88+75-75lib/libssl/d1_both.c
1.3+1-3lib/libssl/dtls_local.h
+76-782 files

OpenBSD/src O05VCFulib/libssl d1_both.c

   Inline dtls1_fix_message_header().

   This is only used in one place and it makes no sense to have it as a
   separate function. Furthermore, pull up an assertion so that we check
   before assigning frag_len.

   ok kenjiro@ tb@
VersionDeltaFile
1.87+5-16lib/libssl/d1_both.c
+5-161 files

OpenBSD/src u4mnbGMlib/libssl d1_both.c

   Convert DTLS code to ssl_msg_callback().

   ok kenjiro@ tb@
VersionDeltaFile
1.86+7-14lib/libssl/d1_both.c
+7-141 files

OpenBSD/src lZNVFK4usr.sbin/rpki-client parser.c

   rpki-client: properly ignore missing unsupported files in -n mode

   RFC 9286 section 6.5 mandates that we fetch all the files in a manifest
   fileList and validate their hashes. By design, RRDP will ship all the
   available files whereas in rsync we decided to fetch only the files of
   types we explicitly support. While we check the hashes of unsupported
   files, they won't be copied into the cache of validated files.

   Since unsupported files are not in the validated cache and may or may
   not be present in the temporary directory of fetched objects, there is
   logic that ensures that the hashes of all available files are correct
   and attempts to avoid an error for files absent from both directories.

   Whether all the above decisions in both, standards and our code, are
   fully sound is not entirely clear.

   Be that as it may, Job observed that this logic was incorrect in noop mode
   where no temporary directory is available. This resulted in rejecting the
   one manifest that still lists a Ghostbuster's record (RFC 6493) and as a

    [7 lines not shown]
VersionDeltaFile
1.181+7-3usr.sbin/rpki-client/parser.c
+7-31 files

OpenBSD/src quIaNYrsbin/pfctl parse.y

   The dual-pool form of the af-to action, af-to af FROM redirpool pool_opts
   TO redirpool pool_opts was writing the TO side options in the FROM side.

   OK sashan@
VersionDeltaFile
1.725+3-3sbin/pfctl/parse.y
+3-31 files

OpenBSD/src aZ7ip9nusr.bin/ssh ssh-agent.c

   unveil the actual listening socket path and its directory
   so it can be cleaned up at exit.

   Reported by / tested by David Krause, ok markus@
VersionDeltaFile
1.325+9-1usr.bin/ssh/ssh-agent.c
+9-11 files

OpenBSD/src HFPkIgRshare/zoneinfo/datfiles zonenow.tab northamerica

   Update to 2026bgtz from https://github.com/JodaOrg/global-tz
VersionDeltaFile
1.8+49-48share/zoneinfo/datfiles/zonenow.tab
1.92+58-13share/zoneinfo/datfiles/northamerica
1.34+14-14share/zoneinfo/datfiles/zone1970.tab
1.85+4-4share/zoneinfo/datfiles/southamerica
1.81+2-2share/zoneinfo/datfiles/zone.tab
+127-815 files

OpenBSD/src iDrvxq2lib/libc/gen cgetent.3

   Escape is octal 33, not 27 (which is escape in decimal)
   From Eric Mulholland
VersionDeltaFile
1.4+3-3lib/libc/gen/cgetent.3
+3-31 files

OpenBSD/src Wdt44bcusr.sbin/bgpd rde.c

   Fix possible reload bug that leave old filters on a peer.

   In rde_reload_done() the code handling the peer->reconf_rib case has a
   continue which skips the code path that actually reapplies the outbound
   filters. The result is that such a peer keeps on running with the old
   filters -- a subsequent reload will then fix this.

   Removing the continue changes the way peer->reconf_rib and peer->reconf_out
   interact. Now reconf_rib needs to be checked before reconf_out since it
   is possible for both to be set. Adjust the code in rde_softreconfig_in_done()
   accordingly.

   OK tb@
VersionDeltaFile
1.695+8-9usr.sbin/bgpd/rde.c
+8-91 files