OpenBSD/ports 8CDocR9 — sysutils/broot Makefile crates.inc

   Update broot to 1.60.2.
VersionDeltaFile
1.47+126-158sysutils/broot/distinfo
1.37+62-78sysutils/broot/crates.inc
1.53+1-1sysutils/broot/Makefile
+189-2373 files

OpenBSD/ports SEXbWak — graphics/blender Makefile, graphics/blender/patches patch-intern_libmv_libmv_build_build_config_h patch-source_blender_blenlib_BLI_build_config_h

   Make blender build on sparc64

   patch from Brad Smith
VersionDeltaFile
1.1+45-0graphics/blender/patches/patch-source_blender_blenlib_BLI_build_config_h
1.1+32-0graphics/blender/patches/patch-intern_libmv_libmv_build_build_config_h
1.158+1-2graphics/blender/Makefile
+78-23 files

OpenBSD/ports 1APROMu — security/gnupg Makefile distinfo

   Revert to gnupg-2.5.22 because gnupg-2.5.23+ breaks mail/notmuch

   mail/notmuch uses gmime -> gpgme -> gnupg to decrypt PGP-encrypted
   messages, and check for that feature in it configure script.  Since

   commit 2e6549f5de5307e3e84c1ffa5e762d14266546ba
   gpg: Preliminary support for importing some rfc-9980 secret keys.

   gpg-agent now appears unable to export the "session key" used by notmuch
   tests, so gpg has no key to pass back to gpgme/gmime. The code in
   notmuch/configure mimics the code in notmuch/util/crypto.c so we can
   expect this to be an actual regression. Revert to the previous gnupg
   release to unbreak bulk builds and avoid regressions.

   Reported by sthen@
VersionDeltaFile
1.57+2-2security/gnupg/distinfo
1.153+2-1security/gnupg/Makefile
+4-32 files

OpenBSD/src b667MI5 — lib/libc/gen getgrouplist.c, lib/libutil passwd.c

   Incorrect upper bound for uid and gid can result in -1 being used.
   smtpd and YP/ldap situations are the most worrying.
   Different fix from -current, because -stable avoids API/ABI changes.
   from deraadt@

   this is errata/7.9/030_uidrange.patch.sig
VersionDeltaFile
1.55.6.1+5-5usr.sbin/ypldap/ldapclient.c
1.22.12.1+4-4usr.sbin/ypldap/yp.c
1.51.2.1+3-3usr.sbin/smtpd/to.c
1.57.2.1+3-3lib/libutil/passwd.c
1.32.2.1+3-3lib/libc/gen/getgrouplist.c
1.359.2.1+3-2usr.sbin/smtpd/smtpd.c
+21-201 files not shown
+23-227 files

OpenBSD/src FOyI6na — lib/libc/gen getgrouplist.c, lib/libutil passwd.c

   Incorrect upper bound for uid and gid can result in -1 being used.
   smtpd and YP/ldap situations are the most worrying.
   Different fix from -current, because -stable avoids API/ABI changes.
   from deraadt@

   this is errata/7.8/066_uidrange.patch.sig
VersionDeltaFile
1.55.2.1+5-5usr.sbin/ypldap/ldapclient.c
1.22.8.1+4-4usr.sbin/ypldap/yp.c
1.50.8.1+3-3usr.sbin/smtpd/to.c
1.56.24.1+3-3lib/libutil/passwd.c
1.31.2.1+3-3lib/libc/gen/getgrouplist.c
1.357.2.2+3-2usr.sbin/smtpd/smtpd.c
+21-201 files not shown
+23-227 files

OpenBSD/src XcRJRYt — lib/libcrypto/x509 x509_verify.c, lib/libssl d1_pkt.c d1_both.c

   Don't drop X509_V_ERR_HOSTNAME_MISMATCH when verify callback returns 1

   While not the advised way of using the verify callback (either by OpenSSL
   or by us) in production, sometimes folks like to return 1 from everything
   in the callback and then check the error return and make decicions about
   things.

   This fix ensures that such callbacks will see the hostname mismatch and
   be able to act upon them.

   Reported by Alexander Aleksandrovic Klimov
   from beck, ok tb@

   Correct botched size check in dtls1_preprocess_fragment().

   Check message length against max, rather than fragment offset and length.
   Due to a various questionable code, this allows for a crafted messsage
   to be sent that results in a 21MB allocation, which then promptly results
   in an error. Providing that the SSL context is cleared or freed, the

    [136 lines not shown]
VersionDeltaFile
1.85.2.1+18-8lib/libssl/d1_both.c
1.73.2.1+14-6lib/libcrypto/x509/x509_verify.c
1.26.4.1+2-10lib/libtls/tls_ocsp.c
1.130.2.1+3-3lib/libssl/d1_pkt.c
1.34.2.1+2-3usr.sbin/ocspcheck/ocspcheck.c
+39-305 files

OpenBSD/src NTH4cJG — lib/libcrypto/x509 x509_verify.c, lib/libssl d1_pkt.c d1_both.c

   Don't drop X509_V_ERR_HOSTNAME_MISMATCH when verify callback returns 1

   While not the advised way of using the verify callback (either by OpenSSL
   or by us) in production, sometimes folks like to return 1 from everything
   in the callback and then check the error return and make decicions about
   things.

   This fix ensures that such callbacks will see the hostname mismatch and
   be able to act upon them.

   Reported by Alexander Aleksandrovic Klimov
   from beck, ok tb@

   Correct botched size check in dtls1_preprocess_fragment().

   Check message length against max, rather than fragment offset and length.
   Due to a various questionable code, this allows for a crafted messsage
   to be sent that results in a 21MB allocation, which then promptly results
   in an error. Providing that the SSL context is cleared or freed, the

    [77 lines not shown]
VersionDeltaFile
1.85.6.1+18-8lib/libssl/d1_both.c
1.29.2.1+2-10lib/libtls/tls_ocsp.c
1.76.2.1+5-2lib/libcrypto/x509/x509_verify.c
1.130.6.1+3-3lib/libssl/d1_pkt.c
1.34.6.1+2-3usr.sbin/ocspcheck/ocspcheck.c
+30-265 files

OpenBSD/ports cbCc9Kg — geo/cdo distinfo Makefile

   Update cdo to 2.6.4. From maintainer Marco van Hulten, thanks.
   Improve WANTLIB while there.
VersionDeltaFile
1.4+5-5geo/cdo/Makefile
1.4+2-2geo/cdo/distinfo
+7-72 files

OpenBSD/ports n7cAQAY — productivity/baikal Makefile distinfo, productivity/baikal/pkg PLIST

   Update baikal to 0.12.1.
VersionDeltaFile
1.21+82-79productivity/baikal/pkg/PLIST
1.17+2-2productivity/baikal/distinfo
1.44+1-2productivity/baikal/Makefile
+85-833 files

OpenBSD/ports QsNd2pn — mail/p5-MIME-tools Makefile distinfo

   bugfix update to 5.519
VersionDeltaFile
1.23+2-2mail/p5-MIME-tools/distinfo
1.47+1-1mail/p5-MIME-tools/Makefile
+3-32 files

OpenBSD/ports m2vXUzk — telephony/resiprocate Makefile

   BDEP on sox, reported by naddy
VersionDeltaFile
1.16+2-1telephony/resiprocate/Makefile
+2-11 files

OpenBSD/ports W85mFp2 — math/py-scipy/patches patch-pyproject_toml

   Relax meson-python version check.
VersionDeltaFile
1.7+6-2math/py-scipy/patches/patch-pyproject_toml
+6-21 files

OpenBSD/ports zGWQglh — devel/meson-python Makefile

   Missing RDEP on sysutils/patchelf.
VersionDeltaFile
1.16+3-1devel/meson-python/Makefile
+3-11 files

OpenBSD/ports UDeqvuF — net/knot distinfo

   distinfo for libknot fell in here, use distinfo for knot instead
VersionDeltaFile
1.55+2-2net/knot/distinfo
+2-21 files

OpenBSD/src xp6DSxi — sys/kern sysv_sem.c

   Avoid sleeping while recording SEM_UNDO information

   sys_semop(), by way of semundo_adjust() and semu_alloc(), could sleep in
   pool_get(PR_WAITOK) after it had already applied the semaphore operations.
   Another process can remove the set with IPC_RMID while we sleep; we then write
   sempid and sem_otime through the freed semid_ds_kern and sem_base, and record
   an undo entry for a set semundo_clear() has already swept, which panics
   semexit() when the process exits.

   This was introduced as a fallback in rev 1.14, after moving the
   structures from a static array to a pool made the allocation able to
   fail at all.  semop(2) documents ENOSPC, so drop the fallback with the
   extra complexity to work around the sleep.

   semundo_adjust() must then stop freeing an emptied structure in the middle of
   an operation: sys_semop()'s rollback can need it again, and re-creating it
   there is allowed to fail, which is a panic.  Keep it until done2.  That also
   takes a second sleeping pool_put() out of the done: region.


    [8 lines not shown]
VersionDeltaFile
1.66.2.2+41-44sys/kern/sysv_sem.c
+41-441 files

OpenBSD/src niZpBUM — sys/kern sysv_sem.c

   Avoid sleeping while recording SEM_UNDO information

   sys_semop(), by way of semundo_adjust() and semu_alloc(), could sleep in
   pool_get(PR_WAITOK) after it had already applied the semaphore operations.
   Another process can remove the set with IPC_RMID while we sleep; we then write
   sempid and sem_otime through the freed semid_ds_kern and sem_base, and record
   an undo entry for a set semundo_clear() has already swept, which panics
   semexit() when the process exits.

   This was introduced as a fallback in rev 1.14, after moving the
   structures from a static array to a pool made the allocation able to
   fail at all.  semop(2) documents ENOSPC, so drop the fallback with the
   extra complexity to work around the sleep.

   semundo_adjust() must then stop freeing an emptied structure in the middle of
   an operation: sys_semop()'s rollback can need it again, and re-creating it
   there is allowed to fail, which is a panic.  Keep it until done2.  That also
   takes a second sleeping pool_put() out of the done: region.


    [8 lines not shown]
VersionDeltaFile
1.65.2.2+41-44sys/kern/sysv_sem.c
+41-441 files

OpenBSD/src Nts9fb4 — sys/net if_wg.c

   In wg_bind() close IPv4 socket while failed to bind IPv6 socket with
   automatic port selection.
   from mvs@; From Acts1631.

   this is errata/7.9/028_wgbind.patch.sig
VersionDeltaFile
1.48.2.1+6-4sys/net/if_wg.c
+6-41 files

OpenBSD/src 7lfKyF5 — sys/net if_wg.c

   In wg_bind() close IPv4 socket while failed to bind IPv6 socket with
   automatic port selection.
   from mvs@; From Acts1631.

   this is errata/7.8/064_wgbind.patch.sig
VersionDeltaFile
1.47.2.1+6-4sys/net/if_wg.c
+6-41 files

OpenBSD/src IEV73EJ — sbin/iked iked.h ca.c

   iked: Reject malformed and out-of-state IKEv2 messages

   A malicious or malformed IKEv2 peer could crash iked, or cause a
   certificate validation verdict to be applied to the wrong peer
   identity. Reject malformed DELETE payloads and EAP responses for
   which no matching server state exists, and bind CA and OCSP verdicts
   to the identity they were computed for.

   Reported by Stefan Rinkes and acts1631kjv at proton me.
   from hshoexer@; OK markus@

   this is errata/7.9/027_iked.patch.sig
VersionDeltaFile
1.398.2.1+52-1sbin/iked/ikev2.c
1.138.4.1+24-9sbin/iked/ikev2_pld.c
1.14.6.1+26-2sbin/iked/radius.c
1.105.6.2+8-6sbin/iked/ca.c
1.25.12.1+10-4sbin/iked/ocsp.c
1.233.8.1+2-2sbin/iked/iked.h
+122-246 files

OpenBSD/src xV7ehPG — sbin/iked iked.h ca.c

   iked: Reject malformed and out-of-state IKEv2 messages

   A malicious or malformed IKEv2 peer could crash iked, or cause a
   certificate validation verdict to be applied to the wrong peer
   identity. Reject malformed DELETE payloads and EAP responses for
   which no matching server state exists, and bind CA and OCSP verdicts
   to the identity they were computed for.

   Reported by Stefan Rinkes and acts1631kjv at proton me.
   from hshoexer@; OK markus@

   this is errata/7.8/063_iked.patch.sig
VersionDeltaFile
1.394.2.3+52-1sbin/iked/ikev2.c
1.136.4.2+24-9sbin/iked/ikev2_pld.c
1.14.2.1+26-2sbin/iked/radius.c
1.105.2.2+8-6sbin/iked/ca.c
1.25.6.1+10-4sbin/iked/ocsp.c
1.233.2.1+2-2sbin/iked/iked.h
+122-246 files

OpenBSD/src 6jb3xs0 — sys/kern kern_sysctl.c sysv_shm.c

   Introduce in-kernel 'shmid_ds_kern' structure where `shm_nattch' has the
   type of uint64_t. The original 'shmid_ds' used to deliver data to the
   userland, so API/ABI is not broken. The delivered `shm_nattch' value is
   clamped with SHRT_MAX.
   from mvs@; OK deraadt@

   Do missing shmid_ds_kern to shmid_ds conversion in the IPC_SET case of
   sys_shmctl().
   from deraadt@

   the visual hint for sys_shmctl_args became incorrect with the _kernl adjustment
   from deraadt@

   this is errata/7.9/026_sysvipc.patch.sig
VersionDeltaFile
1.82.2.2+64-28sys/kern/sysv_shm.c
1.491.2.3+46-4sys/kern/kern_sysctl.c
+110-322 files

OpenBSD/src oN4wnFT — sys/kern kern_sysctl.c sysv_shm.c

   Introduce in-kernel 'shmid_ds_kern' structure where `shm_nattch' has the
   type of uint64_t. The original 'shmid_ds' used to deliver data to the
   userland, so API/ABI is not broken. The delivered `shm_nattch' value is
   clamped with SHRT_MAX.
   from mvs@; OK deraadt@

   Do missing shmid_ds_kern to shmid_ds conversion in the IPC_SET case of
   sys_shmctl().
   from deraadt@

   the visual hint for sys_shmctl_args became incorrect with the _kernl adjustment
   from deraadt@

   this is errata/7.8/062_sysvipc.patch.sig
VersionDeltaFile
1.81.2.2+69-31sys/kern/sysv_shm.c
1.483.2.3+46-4sys/kern/kern_sysctl.c
+115-352 files

OpenBSD/ports g0z71kV — www/firefox-esr Makefile, www/firefox-esr/patches patch-js_src_wasm_WasmStacks_cpp patch-js_src_gc_Memory_h

   www/firefox-esr: allocated WebAssembly stack memory with MAP_STACK

   Backpoprt: https://bugzilla.mozilla.org/show_bug.cgi?id=2074025

   OK: landry@ (maintainer)
VersionDeltaFile
1.1+36-0www/firefox-esr/patches/patch-js_src_gc_Memory_cpp
1.1+18-0www/firefox-esr/patches/patch-js_src_gc_Memory_h
1.1+14-0www/firefox-esr/patches/patch-js_src_wasm_WasmStacks_cpp
1.281+1-0www/firefox-esr/Makefile
+69-04 files

OpenBSD/ports ocKIGoR — www/mozilla-firefox Makefile, www/mozilla-firefox/patches patch-js_src_wasm_WasmStacks_cpp patch-js_src_gc_Memory_h

   www/mozilla-firefox: allocated WebAssembly stack memory with MAP_STACK

   Backpoprt: https://bugzilla.mozilla.org/show_bug.cgi?id=2074025

   OK: landry@ (maintainer)
VersionDeltaFile
1.1+36-0www/mozilla-firefox/patches/patch-js_src_gc_Memory_cpp
1.1+18-0www/mozilla-firefox/patches/patch-js_src_gc_Memory_h
1.1+14-0www/mozilla-firefox/patches/patch-js_src_wasm_WasmStacks_cpp
1.711+1-0www/mozilla-firefox/Makefile
+69-04 files

OpenBSD/src GD5A8VI — usr.sbin/httpd server.c

   zap dead statistics leftover;  OK kirill

   Stubbed since import in 2014, last touched in 2016.
VersionDeltaFile
1.139+1-8usr.sbin/httpd/server.c
+1-81 files

OpenBSD/ports HxXzVX8 — net/iamb/patches patch-src_main_rs

   net/iamb: forgot to cvs rm patch, reported by naddy@
VersionDeltaFile
1.2+0-0net/iamb/patches/patch-src_main_rs
+0-01 files

OpenBSD/src ZHDVzXE — usr.bin/ipcs ipcs.c

   In ipcs(1) use shm_cpid to determine whether a shared memory segment is in use.
   As since kern_sysctl.c r1.490 shm_internal is always NULL.
   from dgl@; OK deraadt@

   sysctl KERN_SYSVIPC_SEM_INFO was leaking the sem_base kernel pointer to userland.
   This was used by ipcs(1), so change to use sem_ctime instead to decide if it
   should show the semaphore.
   Found independently by me and a report from Bruce Dang of Calif.io (minutes apart).
   from dgl@; OK deraadt@

   this is errata/7.8/062_sysvipc.patch.sig
VersionDeltaFile
1.27.24.1+3-3usr.bin/ipcs/ipcs.c
+3-31 files

OpenBSD/src yQQk8Q8 — sys/kern kern_sysctl.c

   In sysctl KERN_PROC_ARGS "cnt" is an int, read directly from a userspace
   process. The while loop has a "cnt > 0" check, but on 32-bit platforms a value
   can overflow and result in the querying process having data written past the
   supplied buffer. Limit the number of elements in the array to ARG_MAX.
   from dgl@; OK deraadt@

   this is errata/7.9/025_procargs.patch.sig
VersionDeltaFile
1.491.2.2+12-1sys/kern/kern_sysctl.c
+12-11 files

OpenBSD/src gzwEKlj — sys/kern kern_sysctl.c

   In sysctl KERN_PROC_ARGS "cnt" is an int, read directly from a userspace
   process. The while loop has a "cnt > 0" check, but on 32-bit platforms a value
   can overflow and result in the querying process having data written past the
   supplied buffer. Limit the number of elements in the array to ARG_MAX.
   from dgl@; OK deraadt@

   this is errata/7.8/061_procargs.patch.sig
VersionDeltaFile
1.483.2.2+12-1sys/kern/kern_sysctl.c
+12-11 files

OpenBSD/ports dG5aBVx — sysutils/kopia Makefile modules.inc

   MFC update to kopia-0.23.1; fixes a rare race condition which might lead to data loss.
   https://github.com/kopia/kopia/releases/tag/v0.23.1
VersionDeltaFile
1.30.2.1+1,708-968sysutils/kopia/distinfo
1.28.2.1+654-456sysutils/kopia/modules.inc
1.31.2.1+1-1sysutils/kopia/Makefile
+2,363-1,4253 files