OpenBSD/src 2ZWfhdzsys/dev/pci if_em.c if_em.h

   em(4) at PCI Express can handle 64 bit DMA transfers.

   OK mvs@ kettenis@
VersionDeltaFile
1.380+18-12sys/dev/pci/if_em.c
1.84+2-1sys/dev/pci/if_em.h
+20-132 files

OpenBSD/src 8Lkevm7usr.bin/tmux cmd-new-session.c

   Make -c work with new-session -A, from Jody Frankowski in GitHub issue
   4906.
VersionDeltaFile
1.148+4-3usr.bin/tmux/cmd-new-session.c
+4-31 files

OpenBSD/src rYi3g0iusr.bin/tmux cmd-confirm-before.c

   Another memory leak, from Huihui Huang.
VersionDeltaFile
1.58+2-1usr.bin/tmux/cmd-confirm-before.c
+2-11 files

OpenBSD/src nMejVxPusr.bin/tmux cmd-paste-buffer.c

   tmux: use VIS_NOSLASH to avoid annoying double escaping on paste

   from nicm
VersionDeltaFile
1.44+2-2usr.bin/tmux/cmd-paste-buffer.c
+2-21 files

OpenBSD/src mlm3mkJusr.bin/tmux cmd-send-keys.c

   tmux: tc can be NULL, so check before deref to avoid crashing the server

   ok nicm
VersionDeltaFile
1.80+2-2usr.bin/tmux/cmd-send-keys.c
+2-21 files

OpenBSD/src GWTpxUVregress/lib/libz utils_unittest.cc Makefile

   zlib: add unit test to exercise the infinite loop fix
VersionDeltaFile
1.6+12-1regress/lib/libz/utils_unittest.cc
1.6+2-2regress/lib/libz/Makefile
+14-32 files

OpenBSD/src 9il3k02sys/lib/libz zlib.h crc32.c

   zlib: sync with userland
VersionDeltaFile
1.33+2-2sys/lib/libz/zlib.h
1.20+4-0sys/lib/libz/crc32.c
+6-22 files

OpenBSD/src XR5E3aqlib/libz compress.3 crc32.c

   ZLB-01-002: infinite loop in crc32_combine{,_op}()

   zlib.h and our compress(3) manual have documented that len2 in the two
   affected APIs must be non-negative for a long time.  If you ignore this,
   you hang, as a simple test shows. The trivial fix adds a corresponding
   check and makes the documentation even more explicit.

   ok djm

   commit ba829a458576d1ff0f26fc7230c6de816d1f6a77
   Author: Mark Adler <git at madler.net>
   Date:   Sun Dec 21 18:17:56 2025 -0800

       Check for negative lengths in crc32_combine functions.

       Though zlib.h says that len2 must be non-negative, this avoids the
       possibility of an accidental infinite loop.
VersionDeltaFile
1.33+4-4lib/libz/compress.3
1.18+4-0lib/libz/crc32.c
1.31+2-2lib/libz/zlib.h
+10-63 files

OpenBSD/src HBX9ZUabin/ksh var.c

   If ksh is not interactive, do not initialize curses.  Instrumentation
   showed that during a typical build process the terminfo file was being
   opened (and parsed) a gazilion times.
   diagnosed with matthieu, ok millert
VersionDeltaFile
1.74+2-2bin/ksh/var.c
+2-21 files

OpenBSD/src xFWf7ijsys/dev/pci if_rge.c

   Enable 64-bit DMA transfers.

   ok kettenis@
VersionDeltaFile
1.43+10-7sys/dev/pci/if_rge.c
+10-71 files

OpenBSD/src lFl8aoyusr.sbin/relayd parse.y

   Set User-Agent for HTTP healthchecks

   Joel Carnat (Thanks) notice that GoToSocial does not like it when we sent
   no User-Agent and returns an HTTP/418.

   Lloyd pointed to use RELAYD_SERVERNAME instead hardcoded "relayd"

   OK sthen, claudio (diff without RELAYD_SERVERNAME)
VersionDeltaFile
1.261+5-5usr.sbin/relayd/parse.y
+5-51 files

OpenBSD/src VACCNqxsys/kern vfs_lookup.c

   Unveil fix for traversing up at a mount point in vfs_lookup.

   This fixes an issue where we could use the wrong unveil
   when we had a path starting with a .. starting from a directory
   that was a mount point, and also was unveiled.

   The fix ensures we remember traversing the unveil before
   descending into the underlying filesystem.

   fix by semarie@ with testing by me and deraadt@ and others

   from beck@; ok deraadt@

   this is errata/7.7/025_unveil_mount.patch.sig
VersionDeltaFile
1.88.12.1+2-1sys/kern/vfs_lookup.c
+2-11 files

OpenBSD/src F81mWRnsys/kern vfs_lookup.c

   Unveil fix for traversing up at a mount point in vfs_lookup.

   This fixes an issue where we could use the wrong unveil
   when we had a path starting with a .. starting from a directory
   that was a mount point, and also was unveiled.

   The fix ensures we remember traversing the unveil before
   descending into the underlying filesystem.

   fix by semarie@ with testing by me and deraadt@ and others

   from beck@; ok deraadt@

   this is errata/7.8/019_unveil_mount.patch.sig
VersionDeltaFile
1.90.2.1+2-1sys/kern/vfs_lookup.c
+2-11 files

OpenBSD/src oOTbjHplib/libc/time localtime.c

   In tzpath_ok(), also reject a path ending in "/..".  This replaces
   strstr() with a loop that matches embedded ".." path elements as
   well as leading and trailing ones.  OK tb@
VersionDeltaFile
1.75+20-8lib/libc/time/localtime.c
+20-81 files

OpenBSD/src XmMQTbtshare/man/man4 iwx.4, sys/dev/pci if_iwx.c if_iwxreg.h

   sys/iwx: support powersave

   This diff enables power save by default for iwx by setting
   IEEE80211_F_PMGTON (and IEEE80211_C_PMGT), and makes iwx react to
   SIOCS80211POWER by switching between PM (level 3) and CAM at runtime.

   OK: stsp@
VersionDeltaFile
1.204+84-62sys/dev/pci/if_iwx.c
1.62+37-1sys/dev/pci/if_iwxreg.h
1.23+3-3share/man/man4/iwx.4
+124-663 files

OpenBSD/src igJJ5tcsys/kern vfs_lookup.c

   Unveil fix for traversing up at a mount point in vfs_lookup.

   This fixes an issue where we could use the wrong unveil
   when we had a path starting with a .. starting from a directory
   that was a mount point, and also was unveiled.

   The fix ensures we remember traversing the unveil before
   descending into the underlying filesystem.

   fix by semarie@ with testing by me and deraadt@ and others

   ok deraadt@
VersionDeltaFile
1.91+2-1sys/kern/vfs_lookup.c
+2-11 files

OpenBSD/src JgInMuwlib/libc/time localtime.c

   Revert last change to check "..", it breaks for relative paths.
VersionDeltaFile
1.74+3-9lib/libc/time/localtime.c
+3-91 files

OpenBSD/src i38Iky9usr.bin/mg file.c

   improve the "No changes need to be saved" check

   Instead of checking for the BFCHG flag in buffsave(), bubble it up to
   filesave(), which is the interactive function.  This avoids prompting
   for a filepath for e.g. when attempting to save the *scratch* buffer.

   The only other place where buffsave() is called, anycb in buffer.c is
   already guarding for a set file name and the BFCHG flag.

   Initial diff from Han Boetes (hboetes at gmail), tweaked by me.
VersionDeltaFile
1.105+7-9usr.bin/mg/file.c
+7-91 files

OpenBSD/src ZDlRQGXlib/libc/sys pledge.2, sys/kern kern_pledge.c

   pledge "tmppath" goes away because it sucks.  The history is kind of
   sad:  unveil(2) was invented by Bob Beck and myself because a couple
   of us struggled and couldn't expand the "tmppath" mechanism to general use.
   unveil(2) ended up being kind of "upside down" different, and so we never
   deleted "tmppath" because the refactorings seemed complicated.
   However over the last two weeks, we're removed all the "tmppath" in base
   pretty easily, and the 18 ports using it have also been fixed.
   The majority of situations now use unveil "/tmp" "rwc", unveil "/" "r" or
   similar, and then pledge "rpath wpath cpath", and this is generally needed
   to satisfy the mkstemp(3) family of functions in libc.
   Use of "tmppath" will now cause pledge(2) to return EINVAL.  There is
   no backwards compatible way of mimic the behaviour correctly using
   kernel-internal unveil hackery.
   Prompted by a report from David Leadbeater; and extensive conversations
   with beck and semarie.
   from deraadt@

   Stop the canonicalization of the path in pledge_namei() callback since
   we know is providing strictly normalized paths, and it leads to a subtle

    [17 lines not shown]
VersionDeltaFile
1.323.4.3+13-74sys/kern/kern_pledge.c
1.71.4.1+21-5lib/libc/sys/pledge.2
+34-792 files

OpenBSD/src 63c29t2lib/libc/sys pledge.2, sys/kern kern_pledge.c

   pledge "tmppath" goes away because it sucks.  The history is kind of
   sad:  unveil(2) was invented by Bob Beck and myself because a couple
   of us struggled and couldn't expand the "tmppath" mechanism to general use.
   unveil(2) ended up being kind of "upside down" different, and so we never
   deleted "tmppath" because the refactorings seemed complicated.
   However over the last two weeks, we're removed all the "tmppath" in base
   pretty easily, and the 18 ports using it have also been fixed.
   The majority of situations now use unveil "/tmp" "rwc", unveil "/" "r" or
   similar, and then pledge "rpath wpath cpath", and this is generally needed
   to satisfy the mkstemp(3) family of functions in libc.
   Use of "tmppath" will now cause pledge(2) to return EINVAL.  There is
   no backwards compatible way of mimic the behaviour correctly using
   kernel-internal unveil hackery.
   Prompted by a report from David Leadbeater; and extensive conversations
   with beck and semarie.
   from deraadt@

   Stop the canonicalization of the path in pledge_namei() callback since
   we know is providing strictly normalized paths, and it leads to a subtle

    [17 lines not shown]
VersionDeltaFile
1.333.2.2+13-74sys/kern/kern_pledge.c
1.74.2.1+20-4lib/libc/sys/pledge.2
+33-782 files

OpenBSD/src SbsZx1Usys/dev/pci if_iwx.c

   make iwx_read_firmware() error out if IWX_NUM_UCODE_TLV_CAPA is too small

   The driver would attempt to load an incomplete firmware image if
   this check failed. Make the driver report a proper error instead.

   ok tb@ phessler@
VersionDeltaFile
1.203+2-1sys/dev/pci/if_iwx.c
+2-11 files

OpenBSD/src u64MJepsys/net80211 ieee80211_node.c

   The refcnt DPRINTF in ieee80211_release_node() is too verbose put it
   behind a ieee80211_debug > 1 check.
   OK stsp@
VersionDeltaFile
1.210+6-3sys/net80211/ieee80211_node.c
+6-31 files

OpenBSD/src dgCxGGGsys/net80211 ieee80211_input.c

   Unbreak compiles with IEEE80211_DEBUG defined.

   In ieee80211_recv_probe_resp() the code to print probe responses should be
   called after ieee80211_find_node() and is_new should be used instead of
   checking for ni == NULL.

   OK stsp@
VersionDeltaFile
1.259+11-11sys/net80211/ieee80211_input.c
+11-111 files

OpenBSD/src cXtuWluusr.bin/tmux window-copy.c cmd-send-keys.c

   Allow copy mode to work for readonly clients, except for copy commands,
   from Dane Jensen.
VersionDeltaFile
1.391+102-1usr.bin/tmux/window-copy.c
1.79+8-2usr.bin/tmux/cmd-send-keys.c
1.50+2-2usr.bin/tmux/cmd-copy-mode.c
1.163+2-1usr.bin/tmux/key-bindings.c
+114-64 files

OpenBSD/src ZtOWhqEusr.bin/tmux server-fn.c

   Check window is not NULL, from Chema Gonzalez in GitHub issue 4908.
VersionDeltaFile
1.143+7-3usr.bin/tmux/server-fn.c
+7-31 files

OpenBSD/src mTO9HF4regress/usr.sbin/bgpd/unittests rde_aspa_test.c

   Define rdemem for this test too since we now account for aspa objects as well.

   As usual noticed by anton@
VersionDeltaFile
1.7+3-1regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
+3-11 files

OpenBSD/src mhXrq6ksys/dev/pci if_iwx.c if_iwxreg.h

   Add support for MCC update firmware response v4 to iwx(4).

   This will be needed to support BZ devices.

   ok kettenis@ phessler@

   Tested:
   AX210 (MA): kettenis
   AX211: phessler
   AX211 (BZ): stsp
VersionDeltaFile
1.202+56-17sys/dev/pci/if_iwx.c
1.61+29-1sys/dev/pci/if_iwxreg.h
+85-182 files

OpenBSD/src Uwmskpjusr.bin/ssh sftp-server.c misc.c

   Replace all remaining instances of u_intXX_t types with the C99
   equivalent uintXX_t types.  ok djm@
VersionDeltaFile
1.153+83-83usr.bin/ssh/sftp-server.c
1.213+33-33usr.bin/ssh/misc.c
1.35+30-30usr.bin/ssh/sshbuf.h
1.384+26-26usr.bin/ssh/sshconnect2.c
1.334+26-26usr.bin/ssh/packet.c
1.41+25-25usr.bin/ssh/moduli.c
+223-22340 files not shown
+480-48046 files

OpenBSD/src F8WFGCxsys/kern kern_pledge.c

   incorrectly nested break for latest zoneinfo check
   spotted by david leadbeater
VersionDeltaFile
1.340+3-3sys/kern/kern_pledge.c
+3-31 files

OpenBSD/src 3SEd1bZlib/libc/time localtime.c

   In tzpath_ok(), also reject a path ending in "/..".  This replaces
   strstr() with a loop that matches "/../" in the name as well as
   "/.." at the end.  OK deraadt@
VersionDeltaFile
1.73+10-4lib/libc/time/localtime.c
+10-41 files