OpenBSD/src ruvxThZ — sys/dev/usb if_rum.c

   Reject receive transfers whose descriptor frame length exceeds the data
   actually transferred.  The descriptor carries a 12-bit frame length and
   the chip accepts frames up to 4095 bytes, but a receive transfer only has
   MCLBYTES minus the descriptor for frame data.

   Trusting the descriptor produced an mbuf extending past its cluster.
   A fragmented IPv4 datagram then carried it into m_cat(), where a default
   kernel panics on a DIAGNOSTIC assertion.

   Report and diff from Acts1631.

   ok miod@ claudio@ kettenis@
VersionDeltaFile
1.130+10-3sys/dev/usb/if_rum.c
+10-31 files

OpenBSD/src rqgtOTO — sys/arch/macppc/include vmparam.h

   sys/macppc: increase MAXDSIZ to 3Gb

   OK: kettenis@
VersionDeltaFile
1.34+2-2sys/arch/macppc/include/vmparam.h
+2-21 files

OpenBSD/src cprcdiT — sys/arch/sparc64/sparc64 trap.c

   Remove support for "fpu disabled" traps in the kernel. This used to be needed
   to allow VIS instructions to be used in the kernel, but the last use of them
   was removed in 2003.

   ok claudio@
VersionDeltaFile
1.132+1-41sys/arch/sparc64/sparc64/trap.c
+1-411 files

OpenBSD/src sKQenC4 — sys/dev/usb uhid_rdesc.h

   fix comment in uhid_xb360gp_report_descr, erroneously stating REPORT SIZE when it is REPORT COUNT. from Lucas de Sena ( lucas () seninha ! org ). No functional change.
VersionDeltaFile
1.3+2-2sys/dev/usb/uhid_rdesc.h
+2-21 files

OpenBSD/src e5Fl7kj — sys/dev/usb uhidev.h uhidev.c

   uhidev_intr: reject payloads that exceed their declared input report
   sizes. Lower priority bug where a malicious/compromised USB device can
   overwrite memory.

   Report and diff from Acts1631. ok deraadt@
VersionDeltaFile
1.115+8-1sys/dev/usb/uhidev.c
1.42+2-1sys/dev/usb/uhidev.h
+10-22 files

OpenBSD/src e8ufQsk — sys/arch/mips64/mips64 pmap.c

   Fix destination address in virtual alias check.

   OK miod@
VersionDeltaFile
1.127+2-2sys/arch/mips64/mips64/pmap.c
+2-21 files

OpenBSD/src 1fLo8tq — usr.sbin/dbupdate dbupdate.sh, usr.sbin/fw_update fw_update.8 fw_update.sh

   Sometimes a specific address family will be broken or have sub-optimal
   connectivity, and require manual overrides.

   Allow -4 and -6 to specify using IPv4 or IPv6.  Defaults don't change and
   use whatever your system is configured to use first.

   OK sthen@ kn@
VersionDeltaFile
1.64+12-9usr.sbin/sysupgrade/sysupgrade.sh
1.75+9-6usr.sbin/fw_update/fw_update.sh
1.174+9-5usr.sbin/syspatch/syspatch.sh
1.12+8-5usr.sbin/dbupdate/dbupdate.sh
1.24+7-3usr.sbin/sysupgrade/sysupgrade.8
1.11+7-3usr.sbin/fw_update/fw_update.8
+52-312 files not shown
+65-358 files

OpenBSD/src AA1QyzH — usr.sbin/rpki-client main.c

   Pass the repoid to entity_new and simply use repo_id(rp) to get that
   now that repo_id handles NULL pointers.

   OK tb@
VersionDeltaFile
1.338+7-8usr.sbin/rpki-client/main.c
+7-81 files

OpenBSD/src COqFES8 — usr.sbin/rpki-client repo.c

   In repo_id() if rp is NULL return 0 as id which is not a valid repo id itself.

   OK tb@
VersionDeltaFile
1.101+3-1usr.sbin/rpki-client/repo.c
+3-11 files

OpenBSD/src FDeOEM6 — usr.sbin/rpki-client ccr.c

   Improve error message when RB_FIND fails because the MFT hash was not yet
   added to the tree.

   OK tb@
VersionDeltaFile
1.47+2-2usr.sbin/rpki-client/ccr.c
+2-21 files

OpenBSD/src I14sYSz — usr.sbin/rpki-client validate.c

   rpki-client: reject URIs with // except at the start of the authority

   This way each CA repo can only be addressed by a single URI, fixing a
   bypass of the recently introduced counters.

   Reported by Ties de Kock

   discussed with job
   ok claudio
VersionDeltaFile
1.92+17-3usr.sbin/rpki-client/validate.c
+17-31 files

OpenBSD/src xR9c41c — usr.sbin/rpki-client main.c repo.c

   Kill an errx check in main.

   uri can never be NULL and move the file size check to rrdp_handle_file.

   Problem reported by Ties de Kock
   OK tb@
VersionDeltaFile
1.100+7-1usr.sbin/rpki-client/repo.c
1.337+1-4usr.sbin/rpki-client/main.c
+8-52 files

OpenBSD/src BB7bwVe — usr.sbin/rpki-client rrdp_util.c

   In publish_done() check for MIN_FILE_SIZE after base64 decoding the input.

   The base64 decoding function ignore any space character and so the
   final length of the decoded blob can be smaller then expected if the
   input string contains many spaces. Doing the check after is safe since
   the base64 decode works even with an empty input.

   On top of this fix a memory leak of the pctx in all error paths.

   OK tb@
VersionDeltaFile
1.3+10-7usr.sbin/rpki-client/rrdp_util.c
+10-71 files

OpenBSD/src HDr8Ada — usr.bin/ssh sftp.c

   fix interactive_loop() indentation; ok deraadt@
VersionDeltaFile
1.264+2-2usr.bin/ssh/sftp.c
+2-21 files

OpenBSD/src bZ6cXPN — share/snmp OPENBSD-CARP-MIB.txt

   carpGroupDemote must be in range 0..255

   OK sthen@
VersionDeltaFile
1.5+4-3share/snmp/OPENBSD-CARP-MIB.txt
+4-31 files

OpenBSD/src IWWXJK8 — gnu/llvm/clang/lib/Driver/ToolChains/Arch RISCV.cpp

   Activate linker relaxation on riscv64

   Now that ld.lld and the rest of the ecosystem (eg lang/go) copes with
   it, enable linker relaxation in clang. This lets ld.lld rewrite branches
   to produce smaller and faster code.

   Reminded by Brad, ok kettenis@
VersionDeltaFile
1.8+0-8gnu/llvm/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
+0-81 files

OpenBSD/src yKfHZlM — sys/dev/pci files.pci

   rge now needs "firmload"
VersionDeltaFile
1.374+2-2sys/dev/pci/files.pci
+2-21 files

OpenBSD/src IATmYky — lib/libcrypto/man EC_POINT_point2oct.3

   EC_POINT_point2oct.3: reword point compression

   There was a double use of 'use'. Also be a bit more explicit about the
   trade off involved.
VersionDeltaFile
1.7+7-5lib/libcrypto/man/EC_POINT_point2oct.3
+7-51 files

OpenBSD/src nFJLbED — regress/usr.bin/ssh cfgparse.sh

   Use ssh -Q addressfamily to determine if IPv6 is supported.
VersionDeltaFile
1.14+2-2regress/usr.bin/ssh/cfgparse.sh
+2-21 files

OpenBSD/src 6zwU726 — usr.bin/ssh readconf.h ssh.1

   Add ssh -Q addressfamily.  ok djm@
VersionDeltaFile
1.424+15-1usr.bin/ssh/readconf.c
1.647+7-2usr.bin/ssh/ssh.c
1.458+4-2usr.bin/ssh/ssh.1
1.166+2-1usr.bin/ssh/readconf.h
+28-64 files

OpenBSD/src Zwh5Wgu — distrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1209+1-0distrib/sets/lists/base/mi
+1-01 files

OpenBSD/src hA9pqYs — sys/arch/hppa/gsc lpt_gsc.c

   Remove unused local variable in lpt_gsc_probe().
VersionDeltaFile
1.15+2-3sys/arch/hppa/gsc/lpt_gsc.c
+2-31 files

OpenBSD/src 6n9sQWz — sys/net if_spppsubr.c

   Fix NULL dereferences in sppp authentication.

   From acts1631
   ok mvs bket
VersionDeltaFile
1.203+7-1sys/net/if_spppsubr.c
+7-11 files

OpenBSD/src Qz8yJdH — sys/arch/alpha/alpha fp_complete.c

   Remove unused alpha_shadow_zero variable.
VersionDeltaFile
1.15+2-2sys/arch/alpha/alpha/fp_complete.c
+2-21 files

OpenBSD/src ixwrFCY — sys/arch/alpha/alpha pal.s, sys/arch/alpha/include alpha_cpu.h

   Remove unused alpha_pal_cflush() and alpha_pal_wrvptptr().
VersionDeltaFile
1.8+1-28sys/arch/alpha/alpha/pal.s
1.16+1-3sys/arch/alpha/include/alpha_cpu.h
+2-312 files

OpenBSD/src IKhphu4 — usr.sbin/relayd relayd.c

   relayd: macros are only expanded for append and set

   ok kirill@
VersionDeltaFile
1.213+4-2usr.sbin/relayd/relayd.c
+4-21 files

OpenBSD/src NqMYZHW — usr.sbin/relayd relayd.h relay_http.c

   relayd: add "glob" and "glob ignorecase" matching keywords

   In addition to the recent "pattern", the cookie, header, path, query and url
   keys and values now accept "glob" and "glob ignorecase". The keywords can also
   be given before "file" and then apply to every key read from it.

   Without a keyword the old type defaults stay as they were. Header names are
   case-insensitive (RFC 9110), so "glob" on a header name is treated as "glob
   ignorecase". The "pattern" stays case-sensitive. The defaults are now clearly
   documented.

   The parser is stricter now!  The following are errors now:
   - a matching keyword together with "set" or "append"
   - a matching keyword without a key or file, except with "log"
   - "file" without a preceding lookup type
   - a duplicate lookup type in the same rule

   Valid configs keep working, configs that were silently misinterpreted before
   are now rejected.

    [3 lines not shown]
VersionDeltaFile
1.273+353-80usr.sbin/relayd/parse.y
1.226+190-62usr.sbin/relayd/relayd.conf.5
1.212+74-21usr.sbin/relayd/relayd.c
1.108+30-23usr.sbin/relayd/relay_http.c
1.300+14-9usr.sbin/relayd/relayd.h
+661-1955 files

OpenBSD/src QUsSg95 — sys/kern sys_pipe.c

   Remove amountpipekva variable and related computations. This variable used
   to matter until rev 1.19 27 years ago, when the "direct write" code was
   removed.
VersionDeltaFile
1.150+1-5sys/kern/sys_pipe.c
+1-51 files

OpenBSD/src QwlvRWd — sys/msdosfs msdosfs_fat.c

   Do not compile cache stat counters if SMALL_KERNEL.
VersionDeltaFile
1.37+13-2sys/msdosfs/msdosfs_fat.c
+13-21 files

OpenBSD/src ZA6U6iK — usr.sbin/rpki-client main.c http.c

   rpki-client: drop some redundant parentheses in return statements

   Almost all of the code omits them, so be consistent. The remaining
   two are special: to_encode() is rather complicated and CBS_strdup()
   is upstream code.

   ok job
VersionDeltaFile
1.110+3-3usr.sbin/rpki-client/http.c
1.336+2-2usr.sbin/rpki-client/main.c
+5-52 files