OpenBSD/src oOpuymlsys/arch/powerpc64/conf RAMDISK

   sys/powerpc64: add em* to RAMDISK

   OK: deraadt@
VersionDeltaFile
1.14+2-1sys/arch/powerpc64/conf/RAMDISK
+2-11 files

OpenBSD/src djS32rMusr.bin/tmux cmd-server-access.c

   Use name as marker for failure not type (which must be set to be in the error).
VersionDeltaFile
1.6+5-5usr.bin/tmux/cmd-server-access.c
+5-51 files

OpenBSD/src KXN5BP1usr.bin/tmux cmd-kill-session.c cmd-kill-window.c

   Add missing headers.
VersionDeltaFile
1.31+3-1usr.bin/tmux/cmd-kill-session.c
1.30+3-1usr.bin/tmux/cmd-kill-window.c
+6-22 files

OpenBSD/src q0s97Obusr.bin/tmux tmux.1

   Clarify -a for kill-window, kill-session.
VersionDeltaFile
1.1077+3-3usr.bin/tmux/tmux.1
+3-31 files

OpenBSD/src co5IIvilib/libcrypto/pkcs7 pk7_smime.c

   Avoid freeing a caller-owned buffer in PKCS7_verify()

   If a PKCS#7 S/MIME message comes with an empty set of digestAlgorithms
   in the SignedData, PKCS7_verify() would incorrectly free a caller-owned
   buffer. Fix the freeing logic to avoid this situation.

   From Igor Ustinov via OpenSSL
VersionDeltaFile
1.30+7-7lib/libcrypto/pkcs7/pk7_smime.c
+7-71 files

OpenBSD/src iupIsBNlib/libcrypto/asn1 a_mbstr.c

   Add some missing bounds checks to ASN1_mbstring_copy()

   If the in string is unreasonably long, assigning strlen(in) to an int
   may overflow, so exclude this situation.

   Moreover, the code would unconditionally multiply nchar by 2 or 4,
   which could again overflow an int. Check for this situation and error
   out to avoid an out of bounds write.

   More may be needed in here, which will be revisited later.

   Based on a diff by Viktor Dukhovni via OpenSSL.
VersionDeltaFile
1.29+20-3lib/libcrypto/asn1/a_mbstr.c
+20-31 files

OpenBSD/src MGTcaxSusr.bin/tmux cmd-kill-window.c cmd-kill-pane.c

   Add -f for filter with -a to kill-pane, kill-window, kill-session.
   GitHub issue 4782.
VersionDeltaFile
1.29+76-31usr.bin/tmux/cmd-kill-window.c
1.33+61-15usr.bin/tmux/cmd-kill-pane.c
1.30+54-11usr.bin/tmux/cmd-kill-session.c
1.1076+23-2usr.bin/tmux/tmux.1
+214-594 files

OpenBSD/src mnJsjBTlib/libcrypto/cms cms_pwri.c

   Avoid out-of-bounds read in CMS password-based decryption

   The RFC 3211 PWRI integrity check when unwrapping the password-derived key
   accesses seven bytes from a heap-allocated buffer. If an (invalid) block
   cipher with short blocks is in use 2 * blocksize may not be sufficient room
   for 7 bytes. In that silly case, the function performs an OOB read. Add
   length check to avoid this situation

   From Igor Ustinov via OpenSSL.
VersionDeltaFile
1.37+4-0lib/libcrypto/cms/cms_pwri.c
+4-01 files

OpenBSD/src leQ9bA9lib/libcrypto/cms cms_pwri.c

   Avoid NULL dereference in password-based CMS decryption

   The keyDerivationAlgorithm field is OPTIONAL in the ASN.1 but required
   for password-based CMS. Check that the field is present before using it
   to avoid a crash.

   From Igor Ustinov via OpenSSL
VersionDeltaFile
1.36+5-1lib/libcrypto/cms/cms_pwri.c
+5-11 files

OpenBSD/src Cxx5Xd2usr.bin/tmux utf8-combined.c tty.c

   Two fixes for RI codepoints. Firstly, do not combine more than two of
   them - previously we were ending up with four codepoints in one cell
   which tmux believed to be width 2, but terminals considered width 4.
   Secondly, invalidate cursor position before redrawing the cell when the
   second codepoint is received, terminals vary in how they manage
   backspace and cursor movement across these characters, so it is better
   to use absolute rather than relative positioning. GitHub issue 4853.
VersionDeltaFile
1.10+24-2usr.bin/tmux/utf8-combined.c
1.470+3-1usr.bin/tmux/tty.c
+27-32 files

OpenBSD/src F7bFj8hsys/dev/pci/drm/i915 i915_driver.c

   call rasops_show_screen() in inteldrm_activate() wakeup

   From Walter Alejandro Iglesias who reports this stops garbage on screen
   when resuming from hibernate without switching vt, on a unknown machine.
   Avoids a similar problem on matthieu's Framework Alder Lake, and mvs'
   Gemini Lake and Alder Lake machines.
VersionDeltaFile
1.31+2-0sys/dev/pci/drm/i915/i915_driver.c
+2-01 files

OpenBSD/src wk72xJrusr.bin/tmux window.c cmd-split-window.c

   Add -B to new-pane/split-window to block until the command exits, like
   run-shell -b.
VersionDeltaFile
1.333+35-1usr.bin/tmux/window.c
1.130+13-3usr.bin/tmux/cmd-split-window.c
1.1075+13-2usr.bin/tmux/tmux.1
1.210+3-1usr.bin/tmux/server.c
1.1340+3-1usr.bin/tmux/tmux.h
+67-85 files

OpenBSD/src s5k7hTUusr.bin/tmux window.c

   Do not use NULL arguments, bug spotted by Dane Jensen.
VersionDeltaFile
1.332+2-2usr.bin/tmux/window.c
+2-21 files

OpenBSD/src BepC87Ngnu/llvm/clang/lib/Driver/ToolChains/Arch RISCV.cpp

   fix a mismerged patch for defaulting to -mno-relax on OpenBSD; from Brad
VersionDeltaFile
1.7+1-1gnu/llvm/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
+1-11 files

OpenBSD/src Y2hJrstregress/lib/libutil/fmt_scaled fmt_test.c

   fmt_scaled: add some regress for signed overflow edge cases.

   looks good to claudio, ok djm
VersionDeltaFile
1.22+6-1regress/lib/libutil/fmt_scaled/fmt_test.c
+6-11 files

OpenBSD/src xyHQ5Mtlib/libutil fmt_scaled.c

   Avoid signed overflow in fmt_scaled

   Adding the scaled fractional part to whole may result in a signed overflow.
   Guard against this by adding checks before subtracting or adding.

   problem pointed out by a friend of claudio's
   fix looks good to claudio, ok djm
VersionDeltaFile
1.26+12-3lib/libutil/fmt_scaled.c
+12-31 files

OpenBSD/src 4sJ1QHYregress/lib/libutil/fmt_scaled fmt_test.c

   fmt_scaled: make regress compile again with old gcc

   looks good to claudio
   ok djm
VersionDeltaFile
1.21+7-7regress/lib/libutil/fmt_scaled/fmt_test.c
+7-71 files

OpenBSD/src Y882ikxlib/libcrypto/ecdh ecdh.c

   ecdh: add error codes for point at infinity/not on curve

   The point at infinity would previously raise EC_R_POINT_AT_INFINITY via
   EC_POINT_get_affine_coordinates(). For consistency, also raise an error
   for off-curve points.

   pointed out by/ok kenjiro
VersionDeltaFile
1.15+7-3lib/libcrypto/ecdh/ecdh.c
+7-31 files

OpenBSD/src vSXAnPslib/libcrypto/ec ec_lib.c

   Fix strange error check in EC_POINT_get_affine_coordinates

   EC_POINT_is_at_infinity() has a Boolean return nowadays, so drop > 0.

   ok jsing kenjiro
VersionDeltaFile
1.132+2-2lib/libcrypto/ec/ec_lib.c
+2-21 files

OpenBSD/src 2Aa1jklregress/lib/libssl/unit ssl_kex.c

   ssl_kex: exercise an invalid point as well
VersionDeltaFile
1.4+34-1regress/lib/libssl/unit/ssl_kex.c
+34-11 files

OpenBSD/src 0ONhKbYregress/lib/libssl/unit ssl_kex.c

   ssl_kex: ensure decode_error alert is raised
VersionDeltaFile
1.3+13-1regress/lib/libssl/unit/ssl_kex.c
+13-11 files

OpenBSD/src EyGXaxxsys/nfs nfs_socket.c

   switch nfs_getreq() to nfsd_adv()

   from miod@ ok jsg@

   This round of commits was prompted by a double-free report
   from Andrew Griffiths at Calif.

   server nfs request mbuf pointers were stored in two structs:
   nmi_mrep in struct nfsm_info
   nd_mrep in struct nfsrv_descript
   but only set to NULL after m_freem() in nmi_mrep

   This problem is avoided by removing the use of struct nfsm_info
   in the server paths and passing struct nfsrv_descript to
   new versions of the nfsm functions.
VersionDeltaFile
1.158+8-18sys/nfs/nfs_socket.c
+8-181 files

OpenBSD/src 1KLkffBsys/nfs nfs_serv.c

   remove use of struct nfsm_info in nfs_serv.c (the non-trivial part)

   with and ok miod@
VersionDeltaFile
1.149+23-137sys/nfs/nfs_serv.c
+23-1371 files

OpenBSD/src gH6cVX8sys/nfs nfs_serv.c

   remove use of struct nfsm_info in nfs_serv.c

   with and ok miod@
VersionDeltaFile
1.148+123-200sys/nfs/nfs_serv.c
+123-2001 files

OpenBSD/src GwV5iLxsys/nfs nfs_serv.c

   convert nfs_serv.c from nfsm_mtouio() to nfsd_mtouio()

   with and ok miod@
VersionDeltaFile
1.147+2-4sys/nfs/nfs_serv.c
+2-41 files

OpenBSD/src hz7bCzPsys/nfs nfs_serv.c

   convert nfs_serv.c from nfsm_strsiz() to nfsd_strsiz()

   with and ok miod@
VersionDeltaFile
1.146+6-6sys/nfs/nfs_serv.c
+6-61 files

OpenBSD/src xNU2ytDsys/nfs nfs_socket.c

   convert nfs_socket.c from nfsm_dissect() to nfsd_dissect()

   with and ok miod@
VersionDeltaFile
1.157+8-5sys/nfs/nfs_socket.c
+8-51 files

OpenBSD/src HiyFkhrsys/nfs nfs_serv.c

   convert nfs_serv.c from nfsm_dissect() to nfsd_dissect()

   with and ok miod@
VersionDeltaFile
1.145+35-34sys/nfs/nfs_serv.c
+35-341 files

OpenBSD/src gwWvB9Osys/nfs nfs_serv.c

   remove nfsm_info argument from nfsm_srvmtofh1()

   with and ok miod@
VersionDeltaFile
1.144+33-55sys/nfs/nfs_serv.c
+33-551 files

OpenBSD/src rh8vXnWsys/nfs nfs_serv.c

   remove nfsm_info argument from nfsm_reply()

   callers all set info.nmi_mreq = NULL

   with and ok miod@
VersionDeltaFile
1.143+75-72sys/nfs/nfs_serv.c
+75-721 files