OpenBSD/src r0LuraYusr.bin/find misc.c

   brace_subst: fix single NUL byte overflow after reallocarray()

   The check for sufficient space when performing brace substitution
   did not take into account space for the terminating NUL byte.

   From Thomas Habets
VersionDeltaFile
1.19+3-5usr.bin/find/misc.c
+3-51 files

OpenBSD/src RmmquPyusr.bin/find find.h function.c

   find: Fix mix of character block size check

   If multiple -size primaries were specified and any of the values
   had the 'c' suffix, it was applied to all values and not just the
   one that ended with 'c'.  The divsize setting is now stored in the
   plan, not a global.

   From Thomas Habets
VersionDeltaFile
1.19+7-3usr.bin/find/find.h
1.56+4-5usr.bin/find/function.c
+11-82 files

OpenBSD/src YDD0hWBusr.sbin/ifstated ifstated.c

   usr.sbin/ifstated: timestamp sync external tests

   When external_exec() runs a test synchronously, it refreshes prevstatus
   but left lastexec unchanged. A later status change could therefore be
   ignored by eval_state(), because that code gates body evaluation on the
   first external test timestamp for the current state.

   Set lastexec together with prevstatus for synchronous runs; this keeps
   the cached test status and execution time consistent across state
   re-entry.

   OK: deraadt@
VersionDeltaFile
1.69+4-2usr.sbin/ifstated/ifstated.c
+4-21 files

OpenBSD/src NOp2KiMlib check_sym

   lib/check_sym: add -I to skip printing external reference / PLT changes

   Needed for check-shlib-syms in ports

   OK: sthen@
VersionDeltaFile
1.16+16-8lib/check_sym
+16-81 files

OpenBSD/src tnkPASRusr.sbin/bgpctl bgpctl.c

   In res_to_flowspec enforce the FLOWSPEC_SIZE_MAX limit for a single rule.

   OK tb@
VersionDeltaFile
1.321+3-1usr.sbin/bgpctl/bgpctl.c
+3-11 files

OpenBSD/src BI2DdF8usr.sbin/bgpd parse.y rde_prefix.c

   Introduce a maximum size for a single flowspec NLRI of 4000 bytes.

   Enforce this in both in the parser but also in the RDE.
   In the RDE flowspec_valid() will error out if the lenght is too long
   but also pt_get_flow() and pt_add_flow() will error out.
   The fixed buffer in pt_get_flow() is now sized appropriately instead
   of using a arbitrary size.

   OK tb@
VersionDeltaFile
1.498+10-3usr.sbin/bgpd/parse.y
1.62+10-2usr.sbin/bgpd/rde_prefix.c
1.6+5-1usr.sbin/bgpd/flowspec.c
1.543+2-1usr.sbin/bgpd/bgpd.h
+27-74 files

OpenBSD/src eVSSgrVusr.sbin/rpki-client ccr.c extern.h

   rpki-client: switch subordinates in CCR manifests to a simple queue

   Using a simple list meant that we reversed the order on parsing, resulting
   in confusing output in file mode. This is output cosmetics: the CCR DER is
   unaffected.

   Problem spotted by/ok job (who also wrote the exact same diff)
VersionDeltaFile
1.38+9-9usr.sbin/rpki-client/ccr.c
1.281+3-3usr.sbin/rpki-client/extern.h
1.78+3-3usr.sbin/rpki-client/print.c
+15-153 files

OpenBSD/src AO0p3Oqusr.sbin/bgpd parse.y

   Various fixes to the flowspec parser

   - handle PROTO proto_item like PROTO { proto_item }.
   - The LENGTH spec needs to be adjusted, curflow->type needs to be set
     before evaluating lengthspec.
   - Twice $$ is used in error checking before $$ was set. Use $1 instead.
   - extra semicolon after flags

   OK tb@
VersionDeltaFile
1.497+11-7usr.sbin/bgpd/parse.y
+11-71 files

OpenBSD/src T1TnJrusys/dev/ic qwz.c qwzreg.h, sys/dev/pci if_qwz_pci.c

   sys/qwz: add 802.11n support

   Advertise HT capabilities and pass HT/QoS peer association.

   OK: stsp@
VersionDeltaFile
1.29+172-23sys/dev/ic/qwz.c
1.11+12-3sys/dev/pci/if_qwz_pci.c
1.15+8-1sys/dev/ic/qwzreg.h
+192-273 files

OpenBSD/src 0iunsyHsys/dev/pci if_qwx_pci.c

   Ask qwx(4) firmware to move into M3 state before resetting the device.

   From mglocker@ via qwz(4).
VersionDeltaFile
1.32+47-16sys/dev/pci/if_qwx_pci.c
+47-161 files

OpenBSD/src DYpSKq7sys/dev/ic qwx.c

   Reset unified_ready flag before sending WMI init command to qwx(4) firmware.

   From mglocker@ via qwz(4)
VersionDeltaFile
1.105+3-1sys/dev/ic/qwx.c
+3-11 files

OpenBSD/src eBrW0V0share/man/man5 bsd.port.mk.5

   man/bsd.port.mk.5: document check-shlib-syms

   OK: sthen@, tb@, gonzalo@
VersionDeltaFile
1.655+9-2share/man/man5/bsd.port.mk.5
+9-21 files

OpenBSD/src K9EM3Kbusr.sbin/bgpd chash.h chash.c

   Change CH_LOCATE equality function to be named _eq

   Reduce risk of using e.g. memcmp there. _eq returns 1 for match and
   0 for no match. Also make all arguemnts const. This makes it a bit
   unclear which argument is which. First argument is from the hash table
   the second argument is the arg passed to CH_LOCATE.

   OK tb@
VersionDeltaFile
1.8+6-6usr.sbin/bgpd/chash.h
1.13+5-5usr.sbin/bgpd/chash.c
1.146+3-3usr.sbin/bgpd/rde_attr.c
+14-143 files

OpenBSD/src EVwuzdgsys/dev/ic qwx.c qwxvar.h

   Avoid calling bus_dmamap_destroy() from interrupt context in qwx(4).

   Keep Rx TID DMA memory allocated until the interface goes down,
   rather than freeing DMA memory in interrupt context.

   Fixes splassert failures reported in dmesg because of qwx(4), such as:

   splassert: vm_map_assert_wrlock_ln: want 0 have 4
   splassert: uvm_mapent_alloc: want 0 have 4
   splassert: assertwaitok: want 0 have 4

   Root cause of problem in qwx(4) pointed out by kettenis@, who also
   reviewed several diffs until I arrived at a correct fix.

   ok kettenis@ phessler@
VersionDeltaFile
1.104+47-64sys/dev/ic/qwx.c
1.33+13-2sys/dev/ic/qwxvar.h
+60-662 files

OpenBSD/src BK45Vlyshare/man/man4 ix.4

   document E610 support in ix(4)
VersionDeltaFile
1.12+6-4share/man/man4/ix.4
+6-41 files

OpenBSD/src 86Js4Xksys/dev/pci ixgbe_e610.c ixgbe_type.h

   Add support for Intel E610 Ethernet devices to the ix(4) driver.

   Build fix for sparc64 and arm64 contributed by jmatthew@

   ok deraadt@
VersionDeltaFile
1.1+5,659-0sys/dev/pci/ixgbe_e610.c
1.42+1,958-3sys/dev/pci/ixgbe_type.h
1.226+175-8sys/dev/pci/if_ix.c
1.29+27-3sys/dev/pci/ixgbe.c
1.39+8-1sys/dev/pci/ixgbe.h
1.49+4-1sys/dev/pci/if_ix.h
+7,831-161 files not shown
+7,833-177 files

OpenBSD/src nMAEJJFsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2125+21-1sys/dev/pci/pcidevs_data.h
1.2130+6-1sys/dev/pci/pcidevs.h
+27-22 files

OpenBSD/src 72b9WfOsys/dev/pci pcidevs

   add PCI IDs for Intel E610 products
VersionDeltaFile
1.2137+6-1sys/dev/pci/pcidevs
+6-11 files

OpenBSD/src wP3qTrTusr.sbin/bgpctl output.c

   Add filter_size to the total memory use for "Sets and filters"

   OK tb@
VersionDeltaFile
1.76+2-2usr.sbin/bgpctl/output.c
+2-21 files

OpenBSD/src 5B9vFoysys/sys namei.h

   0X20 -> 0x20, matching the other hex constants
VersionDeltaFile
1.54+2-2sys/sys/namei.h
+2-21 files

OpenBSD/src 49LEFVrlib/libcrypto/x509 x509_addr.c

   x509_addr: do not call memcmp() on NULL

   If the minimum length is 0, either a->data or b->data could be NULL, so
   do not call memcmp() and let the length comparison decide. Doing it this
   way preserves the RFC 3779, section 2.2.3.3 semantics and avoids the UB.

   A valid IPAddressFamily has an addressFamily element of 2 or 3 octets:
   2 octets for the AFI and 1 octet for the optional SAFI. The check as
   it is written compares the AFIs and, if they're equal, lets absent SAFI
   be smaller than any other SAFI. So IPv4 (0x0001) sorts before IPv4
   unicast (0x000101) and that in turn sorts before IPv6 (0x0002).

   Found by beck while breaking OpenSSL

   ok kenjiro
VersionDeltaFile
1.96+5-5lib/libcrypto/x509/x509_addr.c
+5-51 files

OpenBSD/src S7xm4S3usr.bin/ssh chacha.c

   chacha: avoid -Wunterminated-string-initialization warning

   The sizes of sigma[] and tau[] aren't used, so include a trailing NUL and
   thereby avoid upsetting modern compilers about use of dangerous, valid C.

   ok deraadt djm
VersionDeltaFile
1.3+3-3usr.bin/ssh/chacha.c
+3-31 files

OpenBSD/src 2INIgFfsys/kern kern_exec.c

   Intended behaviour should not have a XXX XXX XXX XXX
   ok beck
VersionDeltaFile
1.269+2-5sys/kern/kern_exec.c
+2-51 files

OpenBSD/src qorsBALsys/dev/pci/drm/amd/amdgpu vcn_v4_0.c

   drm/amdgpu/vcn4: Avoid overflow on msg bound check

   From Benjamin Cheng
   271cd5429513ff9b364a9bf8903e5b65b687eb25 in linux-6.18.y/6.18.32
   65bce27ea6192320448c30267ffc17ffa094e713 in mainline linux
VersionDeltaFile
1.12+3-1sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
+3-11 files

OpenBSD/src SGqq9Pjsys/dev/pci/drm/amd/amdgpu vcn_v3_0.c

   drm/amdgpu/vcn3: Avoid overflow on msg bound check

   From Benjamin Cheng
   016b64a0313ea5346cf526e30c8d3e66aca10175 in linux-6.18.y/6.18.32
   e6e9faba8100628990cccd13f0f044a648c303cf in mainline linux
VersionDeltaFile
1.15+3-1sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
+3-11 files

OpenBSD/src 9zRCz31sys/dev/pci/drm/amd/amdgpu amdgpu_vm.c amdgpu_vm.h

   drm/amdgpu: rework how we handle TLB fences

   From Alex Deucher
   f0d3bb6f5125c69ce872a7574afd6d9e1f7ea349 in linux-6.18.y/6.18.32
   69c5fbd2b93b5ced77c6e79afe83371bca84c788 in mainline linux
VersionDeltaFile
1.34+6-1sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1.11+2-0sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.h
+8-12 files

OpenBSD/src tp1XdNJsys/dev/pci/drm/amd/amdgpu amdgpu_vm.c

   Revert "drm/amdgpu: don't attach the tlb fence for SI"

   From Prike Liang
   13e9ea445191390269a6f092d009b68e086e601b in linux-6.18.y/6.18.32
   9163fe4d790fb4e16d6b0e23f55b43cddd3d4a65 in mainline linux
VersionDeltaFile
1.33+1-3sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
+1-31 files

OpenBSD/src LSkfKJZsys/dev/pci/drm/amd/amdgpu amdgpu_gmc.c

   drm/amdgpu: Fix validating flush_gpu_tlb_pasid()

   From Timur Kristof
   576b73b246564c8fa75572d45c1ed9b053b4be5b in linux-6.18.y/6.18.32
   e3a6eff92bbd960b471966d9afccb4d584546d17 in mainline linux
VersionDeltaFile
1.19+4-2sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c
+4-21 files

OpenBSD/src pA8PZTPsys/dev/pci/drm/amd/amdgpu amdgpu_gmc.c

   drm/amdgpu: validate the flush_gpu_tlb_pasid()

   From Prike Liang
   fd78e63459ab6fe99b9fd026c420808d09eaa8be in linux-6.18.y/6.18.32
   f4db9913e4d3dabe9ff3ea6178f2c1bc286012b8 in mainline linux
VersionDeltaFile
1.18+4-0sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c
+4-01 files

OpenBSD/src HlaK0jRsys/dev/pci/drm/amd/pm/powerplay/smumgr ci_smumgr.c

   drm/amdgpu/pm: align Hawaii mclk workaround with radeon

   From Alex Deucher
   f8f546883e8777493157ccc4fac5794c502fcbd2 in linux-6.18.y/6.18.32
   1987c79b4fe5789dfa14423e78b5c25f6acf3e9d in mainline linux
VersionDeltaFile
1.7+4-4sys/dev/pci/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
+4-41 files