OpenBSD/src LdntIe3usr.sbin/bgpd bgpd_imsg.c

   You can not use ibuf_add_n32 for an signed 32bit type.

   ibuf_add_nXY() and ibuf_add_hXY() pass values as uint64_t so the sign
   extension of a negative 32bit value will cause an overflow check to trigger.
   The relative metric field can be negative and so this will trigger this
   error. Use ibuf_add() instead, which is more what this should use anyway.

   Found the hard way by sthen@ who also debugged it.
   OK tb@ sthen@
VersionDeltaFile
1.4+6-5usr.sbin/bgpd/bgpd_imsg.c
+6-51 files

OpenBSD/src KlkIbeVsys/lib/libz zlib.h inffixed.h

   libz: sync with userland, ok bluhm deraadt

   Two new diffs to upstream in sys/:

   1. Remove the new '#warning zlib not thread-safe': amd64 boot blocks
      are compiled with -Werror and this warning breaks the build. Since
      there are no threads in the boot blocks this warning (for ZLB-01-004)
      is irrelevant to OpenBSD.

   2. In the kernel, compress.c is compiled without NULL in scope which
      breaks due to newly added NULL checks in compress2_z(), so I
      added an #include <sys/_null.h> under the existing #ifdef _KERNEL
      in zutil.h. Not sure if sys/param.h or something else is preferred.
VersionDeltaFile
1.34+178-78sys/lib/libz/zlib.h
1.7+91-91sys/lib/libz/inffixed.h
1.21+46-116sys/lib/libz/crc32.c
1.29+17-129sys/lib/libz/inflate.c
1.24+133-8sys/lib/libz/inftrees.c
1.24+75-51sys/lib/libz/deflate.c
+540-4739 files not shown
+740-59915 files

OpenBSD/src ppIi4E7distrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1182+1-1distrib/sets/lists/base/mi
+1-11 files

OpenBSD/src rpRpbVtdistrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1181+2-2distrib/sets/lists/base/mi
+2-21 files

OpenBSD/src wmOpmhelib/libz compress.3

   Update documentation, loosely based on zlib.h
VersionDeltaFile
1.34+295-38lib/libz/compress.3
+295-381 files

OpenBSD/src xSuzCkhlib/libz gzread.c gzwrite.c

   Update to zlib 1.3.2

   This is a minor library bump since it adds six *_z functions that take
   size_t instead of uLong (this only really matters for Windows).

   The non-blocking device support added quite a bit of churn and so did
   the deck chair shuffling for ZLB-01-004, in particular moving the
   BUILDFIXED tables around.

   See the additions to the ChangeLog for more details.

   ok bluhm deraadt
VersionDeltaFile
1.8+179-114lib/libz/gzread.c
1.6+168-99lib/libz/gzwrite.c
1.32+178-78lib/libz/zlib.h
1.7+91-91lib/libz/inffixed.h
1.19+46-116lib/libz/crc32.c
1.25+17-129lib/libz/inflate.c
+679-62718 files not shown
+1,252-88124 files

OpenBSD/src Nv8iyXHlib/libc shlib_version

   crank libc major to reduce issues if users update from 7.8 and then have
   to backout (as I had to do and ran into this). discussed with tb@ deraadt@

   If you move from 7.8 to -current and run into problems and need to go
   back to 7.8, you'll still have a libc.so.102.2 using syscalls that
   weren't available in a 7.8 kernel. If it's the same major and higher
   minor it'll be used in preference by the 7.8 binaries so anything
   using __pledge_open will fail, bad system call, until you figure it
   out, boot single-user, remove the newer libc and reboot/ldconfig.

   If libc is bumped, users that were on 7.8 or a snap before pledge
   changes before they updated, who then need to backout, won't have that
   problem.
VersionDeltaFile
1.227+2-2lib/libc/shlib_version
+2-21 files

OpenBSD/src 4iXCCfsregress/sbin/pfctl Makefile pf115.ok, sys/net hfsc.c hfsc.h

   switch PF queue bandwidths from u_int to uint64_t, from Andy Lemin

   earlier version ok sashan@, changes since then: drop the change to the
   manual, and reorder struct

   ok tb@
VersionDeltaFile
1.53+9-9sys/net/hfsc.c
1.15+4-4sys/net/hfsc.h
1.48+3-3usr.bin/systat/pftop.c
1.237+2-2regress/sbin/pfctl/Makefile
1.1+2-0regress/sbin/pfctl/pf115.ok
1.1+2-0regress/sbin/pfctl/pf115.in
+22-186 files

OpenBSD/src RswxyEOusr.sbin/bgpd rtr.c

   Forgot to remove the no longer used tconf in previous commit.
VersionDeltaFile
1.34+1-2usr.sbin/bgpd/rtr.c
+1-21 files

OpenBSD/src HZ7zK5Jusr.sbin/bgpd config.c bgpd.c

   Implement imsg_send_config and imsg_recv_config which handle the
   sending of bgpd_config.

   struct bgpd_config includes various pointers and those should not be passed.
   Instead use an zeroed stack object and copy_config() to ensure that all
   pointers are NULL before passing the struct.
   Also implement imsg_recv_config() which does the reverse.

   Reported by Shibo, Shawn, Hugo, Systopia Team
   OK tb@
VersionDeltaFile
1.117+23-2usr.sbin/bgpd/config.c
1.288+4-9usr.sbin/bgpd/bgpd.c
1.691+5-6usr.sbin/bgpd/rde.c
1.529+4-5usr.sbin/bgpd/session.c
1.33+3-5usr.sbin/bgpd/rtr.c
1.538+4-2usr.sbin/bgpd/bgpd.h
+43-296 files

OpenBSD/src yqtJTDylib/libc/sys pledge.2 open.2

   pledge(2): access() and open() are no longer special for pledge

   Reflects kern_pledge.c r1.346 and r1.348.

   Also in open(2): Document when __pledge_open appeared and add a missing word.

   ok deraadt
VersionDeltaFile
1.78+2-10lib/libc/sys/pledge.2
1.54+8-3lib/libc/sys/open.2
+10-132 files

OpenBSD/src C5RMoqIusr.bin/ssh ssh-keysign.c

   repair ssh-keysign after pledge changes;
   spotted/tested by naddy@ ok deraadt@
VersionDeltaFile
1.80+4-4usr.bin/ssh/ssh-keysign.c
+4-41 files

OpenBSD/src N7BE39Ousr.bin/openssl speed.c

   openssl speed: add benchmarking support for ML-KEM

   Add support for benchmarking ML-KEM key encapsulation mechanisms to
   openssl speed.  The following operations are measured:

   - key generation
   - encapsulation
   - decapsulation

   Two parameter sets are supported:

     mlkem768
     mlkem1024

   The benchmark can be invoked using the following options:

     mlkem       run all ML-KEM benchmarks
     mlkem768    run ML-KEM-768 benchmarks
     mlkem1024   run ML-KEM-1024 benchmarks

    [6 lines not shown]
VersionDeltaFile
1.51+179-2usr.bin/openssl/speed.c
+179-21 files

OpenBSD/src fEnV2hwlib/libcrypto cert.pem

   sync with Mozilla root CA store, ok tb@

   - remove CommScope CA (they requested it themselves;
   https://bugzilla.mozilla.org/show_bug.cgi?id=1994866)

   - add new cert:
   /C=HU/L=Budapest/O=Microsec Ltd./2.5.4.97=VATHU-23584497/CN=e-Szigno TLS Root CA 2023
VersionDeltaFile
1.34+41-173lib/libcrypto/cert.pem
+41-1731 files

OpenBSD/src kBaRI1Rusr.sbin/bgpd session_bgp.c

   remove extra spaces in logs, ok claudio
VersionDeltaFile
1.7+7-7usr.sbin/bgpd/session_bgp.c
+7-71 files

OpenBSD/src OikH7Ahusr.sbin/bgpd util.c

   typo: Extended Nexhop Encoding (Nexthop)
VersionDeltaFile
1.99+2-2usr.sbin/bgpd/util.c
+2-21 files

OpenBSD/src IsJBD0iusr.bin/calendar calendar.c

   /dev/null is no longer implicitly permitted by some pledges, so explicitly
   unveil it. fixes calendar -a. ok deraadt
   calendar also needs to unveil cpp / sendmail, I forgot to make install
   when I was testing :(  from James J. Lippard
   sendmail/cpp only need "x" no "rx" unveil; ok deraadt
   from sthen@

   this is errata/7.7/029_calendar.patch.sig
VersionDeltaFile
1.37.28.2+7-1usr.bin/calendar/calendar.c
+7-11 files

OpenBSD/src XoMavKmusr.bin/calendar calendar.c

   /dev/null is no longer implicitly permitted by some pledges, so explicitly
   unveil it. fixes calendar -a. ok deraadt
   calendar also needs to unveil cpp / sendmail, I forgot to make install
   when I was testing :(  from James J. Lippard
   sendmail/cpp only need "x" no "rx" unveil; ok deraadt
   from sthen@

   this is errata/7.8/023_calendar.patch.sig
VersionDeltaFile
1.37.26.2+7-1usr.bin/calendar/calendar.c
+7-11 files

OpenBSD/src r6NHhMTlib/libexpat Changes, lib/libexpat/lib xmlparse.c xmlrole.c

   Update libexpat to version 2.7.5.

   Relevant for OpenBSD are security fixes #1158 #1161 #1162 #1163,
   other changes #1156 #1153.  Library bump is not necessary.
   CVE-2026-32776 CVE-2026-32777 CVE-2026-32778

   tested and OK tb@
VersionDeltaFile
1.34+53-12lib/libexpat/Changes
1.46+54-11lib/libexpat/lib/xmlparse.c
1.10+31-1lib/libexpat/tests/misc_tests.c
1.9+27-3lib/libexpat/tests/basic_tests.c
1.3+27-0lib/libexpat/tests/nsalloc_tests.c
1.15+1-1lib/libexpat/lib/xmlrole.c
+193-286 files not shown
+199-3412 files

OpenBSD/src Uz9LYNQusr.bin/tmux popup.c

   Copy hyperlinks when redrawing popup so they do not vanish, from Antoine
   Gaudreau Simard in GitHub issue 4925.
VersionDeltaFile
1.66+5-1usr.bin/tmux/popup.c
+5-11 files

OpenBSD/src 4erlMkJusr.bin/tmux tmux.1

   Fix buffer to both for get-clipboard, from Seth Girvan.
VersionDeltaFile
1.1040+3-3usr.bin/tmux/tmux.1
+3-31 files

OpenBSD/src iNzvDQYusr.bin/tmux utf8.c tmux.1

   Allow codepoint-widths to accept ranges, from san65384 at gmail dot com
   in GitHub issue 4930.
VersionDeltaFile
1.70+53-19usr.bin/tmux/utf8.c
1.1039+4-3usr.bin/tmux/tmux.1
+57-222 files

OpenBSD/src 4rkulIXlib/libcrypto/ec ec_key.c ec_local.h, lib/libcrypto/ecdh ecdh.c

   libcrypto: prefix EC_KEY methods with ec_key_

   We received reports that the too generic internal ecdsa_{sign,verify}()
   symbol names clash in some static links. The naming here is annoying
   because the EC_KEY_METHOD amalgamated the no longer existing ECDH and
   ECDSA methods which themselves had poorly chosen method names, still
   reflected in public API.

   There are various messes here. The ECDSA verify methods are declared
   in ec_local.h, whereas the ECDSA sign methods are in ecdsa_local.h
   (which is itself pretty useless and really only about EC_KEY_METHOD).
   I therefore merged the ECDSA method declarations into ec_local.h and
   deleted ecdsa_local.h since I see no real benefit to the latter.
   ecdsa.c needs ec_local.h anyway. Having the method declarations next
   to EC_KEY_METHOD seems sensible. I left the order as it was, matching
   ecdsa.c. The eckey_compute_pubkey() prototype should probably be moved
   down.

   With one exception I just added an ec_key_ prefix. This leads to a

    [10 lines not shown]
VersionDeltaFile
1.53+9-10lib/libcrypto/ec/ec_key.c
1.74+12-4lib/libcrypto/ec/ec_local.h
1.22+7-7lib/libcrypto/ecdsa/ecdsa.c
1.13+3-3lib/libcrypto/ecdh/ecdh.c
1.4+1-1lib/libcrypto/ecdsa/ecdsa_local.h
+32-255 files

OpenBSD/src GkbO8nOshare/mk bsd.lib.mk

   rework the way we reconsturct the object file order for syspatches

   this change drops the exclude regex and just simply checks if the
   object files are actually available and then constucts a response
   file which we pass for linking and this seems to be good enough
   to have reproducible make build output (which is what we want here)

   ok tb@
VersionDeltaFile
1.106+9-12share/mk/bsd.lib.mk
+9-121 files

OpenBSD/src Ce29I6Cusr.sbin/bgpd bgpd_imsg.c

   Do not include log.h here since this file is shared with bgpctl and
   therefor unable to use these functions.
   OK tb@
VersionDeltaFile
1.3+1-2usr.sbin/bgpd/bgpd_imsg.c
+1-21 files

OpenBSD/src TRdsdxYusr.sbin/bgpd control.c

   bgpctl does not send IMSG_CTL_SHOW_TIMER messages, so remove them from the
   restricted socket filter.
   OK tb@
VersionDeltaFile
1.138+1-2usr.sbin/bgpd/control.c
+1-21 files

OpenBSD/src Laui9cydistrib/syspatch bsd.syspatch.mk Makefile.000

   add support for building specified subdirs instead of a full build; ok tb@
VersionDeltaFile
1.27+16-2distrib/syspatch/bsd.syspatch.mk
1.5+5-1distrib/syspatch/Makefile.000
+21-32 files

OpenBSD/src eI2iGZgetc/rc.d ospf6d

   ospf6d doesn't do reload, so don't allow rcctl reload to be accepted
   ok phessler
VersionDeltaFile
1.4+3-1etc/rc.d/ospf6d
+3-11 files

OpenBSD/src DkypyLXusr.sbin/bgpd chash.c

   chash: zap two trailing blanks in comments
VersionDeltaFile
1.9+3-3usr.sbin/bgpd/chash.c
+3-31 files

OpenBSD/src ktZRIMwusr.sbin/bgpctl output.c output_ometric.c

   Show CH hash memory usage in 'show rib mem' output.

   OK tb@
VersionDeltaFile
1.73+6-2usr.sbin/bgpctl/output.c
1.27+5-2usr.sbin/bgpctl/output_ometric.c
1.63+5-2usr.sbin/bgpctl/output_json.c
+16-63 files