OpenBSD/src cVMA04Olib/libtls tls_verify.c

   Disallow wildcard matching of a TLD specified as a FQDN.

   Found by Frank Denis.

   ok tb@
VersionDeltaFile
1.34+4-1lib/libtls/tls_verify.c
+4-11 files

OpenBSD/src NgFVjHlregress/lib/libtls/verify verifytest.c

   Add a regress test that matches a wildcard for a TLD specified as a FQDN.

   This currently matches when we should reject it.
VersionDeltaFile
1.10+9-1regress/lib/libtls/verify/verifytest.c
+9-11 files

OpenBSD/src XsNeQyUregress/lib/libtls/verify verifytest.c

   Improve test failure message.

   The test may have matched when it should not have.
VersionDeltaFile
1.9+4-3regress/lib/libtls/verify/verifytest.c
+4-31 files

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

   Return empty ranges if line is below window.
VersionDeltaFile
1.127+17-13usr.bin/tmux/screen-redraw.c
+17-131 files

OpenBSD/src giXalyvusr.bin/rs rs.c

   Fix heap buffer overread in column counting loop

   OK millert@
VersionDeltaFile
1.31+3-1usr.bin/rs/rs.c
+3-11 files

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

   Missed this file from previous.
VersionDeltaFile
1.126+23-9usr.bin/tmux/screen-redraw.c
+23-91 files

OpenBSD/src d3mFj8fusr.bin/tmux tty.c screen-write.c

   Handle ranges for panes which are outside the window to the left.
VersionDeltaFile
1.468+4-3usr.bin/tmux/tty.c
1.261+2-2usr.bin/tmux/screen-write.c
1.1329+2-2usr.bin/tmux/tmux.h
+8-73 files

OpenBSD/src mlaVyZssys/arch/arm64/dev aplintc.c

   Add support for version 3 of Apple's AIC interript controller that can be
   found on M3 and later SoCs.

   ok jsg@
VersionDeltaFile
1.22+57-34sys/arch/arm64/dev/aplintc.c
+57-341 files

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

   Do not crash when a pane offset is negative.
VersionDeltaFile
1.260+6-4usr.bin/tmux/screen-write.c
+6-41 files

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

   Check if the range is invalid using start,end rather than length since
   it will never be negative.
VersionDeltaFile
1.259+3-3usr.bin/tmux/screen-write.c
+3-31 files

OpenBSD/src 56YFuhesys/kern exec_elf.c

   Handle sections that specify alignment as 0 when loading an ELF interpreter
   (i.e. ld.so).  Since the smallest possible alignment actually is a the
   page size just start with that and only increase it if a larger alignment
   is requested.  Also reject interpreters without loadable segments, just
   like we did for ld.so a few weeks ago.

   Distilled from a report by Andrew Griffiths.

   ok jsg@, deraadt@
VersionDeltaFile
1.200+8-3sys/kern/exec_elf.c
+8-31 files

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

   Correct calculation of start and end.
VersionDeltaFile
1.258+3-3usr.bin/tmux/screen-write.c
+3-31 files

OpenBSD/src klRJWgusys/kern subr_hibernate.c

   Validate size of chunks copied to piglet during hibernate unpack

   Ensure that the compressed size of the chunk read from the hibernate image
   will fit into the reserved space in the piglet for such chunks. Prevents
   chunks with invalid sizes from overrunning the piglet. Such corrupted
   chunks could be present in tampered or corrupt on-disk hibernate images.

   Reported by Frank Denis
VersionDeltaFile
1.158+10-1sys/kern/subr_hibernate.c
+10-11 files

OpenBSD/src nCoAoHfsys/kern subr_hibernate.c

   Validate sizes against integer overflow when reading chunks in unhibernate

   Validate that chunk sizes stored in the chunktable don't result in integer
   overflow. Such invalid chunk sizes could be present in tampered or corrupt
   on-disk hibernate images.

   Reported by Frank Denis
VersionDeltaFile
1.157+15-3sys/kern/subr_hibernate.c
+15-31 files

OpenBSD/src Vtr8A5Tsys/kern subr_hibernate.c

   Prevent overread when reading the chunktable in unhibernate

   Ensure we don't read past the end of the chunktable, which could happen
   with a tampered or corrupted on-disk hibernate image.

   Reported by Frank Denis
VersionDeltaFile
1.156+6-1sys/kern/subr_hibernate.c
+6-11 files

OpenBSD/src 5gMrSzuregress/lib/libc/strlcpy Makefile

   Disable builtins in strlcpytest.c. Otherwise, clang w/ optimizations
   enabled will treat strlcpy(NULL, ...) as undefined behavior and optimize
   the invocation away.

   Regression introduced after the llvm 22 upgrade.
VersionDeltaFile
1.2+3-1regress/lib/libc/strlcpy/Makefile
+3-11 files

OpenBSD/src LnVyIcsusr.sbin/rpki-client rpki-client.8

   rpki-client: rfc 9981
VersionDeltaFile
1.140+7-8usr.sbin/rpki-client/rpki-client.8
+7-81 files

OpenBSD/src OjlOlFBsys/kern exec_elf.c

   Disable kbind() and pinsyscalls() for static binaries at the correct
   time, which is inside exec_elf_makecmds().  Amusingly, it looks like
   these protection mechanisms are not needed because other process state
   protects against kbind use since we completed the switch to static pie.
   Also any priviledged static binary (which we ship, setuid or daemon) is
   not going to contain a pinsyscall or kbind slot in the loaded pinsyscalls
   table, so they cannot perform those.  Only synthetic binaries with their
   own pinsyscalls table could play, but of course they won't run with
   priviledge..
   from Andrew Griffiths at Calif
   ok kettenis, andrew also approves of this approach
VersionDeltaFile
1.199+9-11sys/kern/exec_elf.c
+9-111 files

OpenBSD/src eux8N9Sdistrib/sets/lists/comp clang.macppc

   sync
VersionDeltaFile
1.36+1-0distrib/sets/lists/comp/clang.macppc
+1-01 files

OpenBSD/src hFnte3Lsys/arch/arm64/dev aplns.c, sys/dev/ic nvme.c

   But the NVMe controller integrated on Apple silicon (M1, M2, etc.)
   advertises support for 128-byte submission queue entries but only works
   with 64-byte entries.  So let aplns(4) override the size.

   ok jcs@
VersionDeltaFile
1.128+7-5sys/dev/ic/nvme.c
1.18+2-1sys/arch/arm64/dev/aplns.c
+9-62 files

OpenBSD/src eoqDKnignu/llvm/compiler-rt/lib/builtins clzdi2.c

   Update clzdi2.c to pull in the following commit neede because of a change
   in clang brought in with the llvm 22 update:

   commit 5d0e26e571c08dc4c0b2a25ed6c9f845f054fa76
   Author: Koakuma <koachan at protonmail.com>
   Date:   Tue Apr 29 07:36:32 2025 +0700

       [compiler-rt] Make sure __clzdi2 doesn't call itself recursively on sparc64 (#136737)

       On 64-bit platforms, libgcc doesn't ship with __clzsi2, so __builtin_clz
       gets lowered to __clzdi2. A check already exists for GCC, but as of
       commit 8210ca019839fc5430b3a95d7caf5c829df3232a clang also lowers
       __builtin_clz to __clzdi2 on sparc64.

       Update the check so that building __clzdi2 with clang/sparc64 also
       works.

   ok tb@, deraadt@
VersionDeltaFile
1.2+7-7gnu/llvm/compiler-rt/lib/builtins/clzdi2.c
+7-71 files

OpenBSD/src sgSCHOignu/llvm/llvm/lib/Target/PowerPC PPCAsmPrinter.cpp

   Unbreak and update powerpc retguard for llvm 22

   For RETGUARD_LOAD_COOKIE when -fno-pie (as in macppc kernels), change
   a relocation in -fno-pie (as in macppc kernels) from unusual S_HIGHA
   "__retguard_3671 at higha" to usual S_HA "__retguard_3671 at ha".  This
   prevents an error from lld 22,

   ld: error: rasops15.o:(function rasops15_init: .text+0x2): unknown \
   relocation (111) against symbol __retguard_3671

   For RETGUARD_LOAD_PC in PIC code, change an instruction from 'bl .+4'
   to 'bcl 20,31,.+4' to fix branch prediction.  This follows the same
   change in upstream llvm,
   https://github.com/llvm/llvm-project/issues/128644

   ok jca@ naddy@
VersionDeltaFile
1.8+2-2gnu/llvm/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+2-21 files

OpenBSD/src 1zJM2Kzsys/dev/ofw fdt.c

   And now fix the uvm page fault of OF_getpropstr() the right way.
VersionDeltaFile
1.39+2-2sys/dev/ofw/fdt.c
+2-21 files

OpenBSD/src tAxitaeusr.bin/tmux tty.c

   Correct offsets for redrawing entire line here too.
VersionDeltaFile
1.467+5-6usr.bin/tmux/tty.c
+5-61 files

OpenBSD/src zgVxcVusys/dev/ofw fdt.c

   Fix uvm fault panic introduced by new OF_getpropstr() function.

   Reported by jmc@.

   ok kettenis@
VersionDeltaFile
1.38+2-2sys/dev/ofw/fdt.c
+2-21 files

OpenBSD/src 7XCAEForegress/lib/libcrypto/x509/bettertls verify.c

   bettertls/verify: resuls -> results
VersionDeltaFile
1.10+2-2regress/lib/libcrypto/x509/bettertls/verify.c
+2-21 files

OpenBSD/src NSDz90Odistrib/sets/lists/comp clang.riscv64

   sync
VersionDeltaFile
1.25+7-0distrib/sets/lists/comp/clang.riscv64
+7-01 files

OpenBSD/src hMPVslzgnu/llvm/clang/lib/Frontend PrintPreprocessedOutput.cpp

   revert upstream commit 947b9f55b5f327e14368a48fb6ce10242ea29bf3

   It breaks cpp -traditional -dM

   https://github.com/llvm/llvm-project/issues/200085
VersionDeltaFile
1.2+482-261gnu/llvm/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+482-2611 files

OpenBSD/src CBGZEhsgnu/llvm/siphash/include/siphash SipHash.h

   add SipHash.h from llvm-22.1.6 which is shipped as a third party header
VersionDeltaFile
1.1+160-0gnu/llvm/siphash/include/siphash/SipHash.h
+160-01 files

OpenBSD/src flibOR3distrib/sets/lists/comp clang.amd64 clang.i386

   sync after updating llvm to 22.1.6
VersionDeltaFile
1.56+474-160distrib/sets/lists/comp/clang.amd64
1.57+474-160distrib/sets/lists/comp/clang.i386
1.51+354-61distrib/sets/lists/comp/clang.arm64
1.49+353-60distrib/sets/lists/comp/clang.armv7
1.29+347-53distrib/sets/lists/comp/clang.powerpc64
1.35+346-53distrib/sets/lists/comp/clang.macppc
+2,348-54714 files not shown
+3,732-75920 files