OpenBSD/src 0DGAHFB — regress/lib/libcrypto/mtc mtc_tree_test.c

   mtc_tree_test: sprinkle a ton of stupid casts

   You can't print uint64_t with %llu.
VersionDeltaFile
1.2+37-19regress/lib/libcrypto/mtc/mtc_tree_test.c
+37-191 files

OpenBSD/src dcZvSlk — sys/net pf_syncookies.c

   8 years ago, I had a brainfart moment and put an mbuf pkthdr flag into
   m_pkthdr.pf.tag instead of m_pkthdr.pf.flags - and nobody noticed, until
   acts-1631 came. fix it. ok sashan
VersionDeltaFile
1.11+9-5sys/net/pf_syncookies.c
+9-51 files

OpenBSD/src OPqHgcI — lib/libcrypto Makefile, lib/libcrypto/mtc mtc_internal.h mtc_tree.c

   Add a Merkle tree implementation for MTC

   Add the RFC 9162 Merkle tree with the subtree operations of section 4 of
   draft-ietf-plants-merkle-tree-certs-05, as internal libcrypto functions.

   Ported from BoringSSL

   ok joshua@, kenjiro@
VersionDeltaFile
1.1+1,093-0regress/lib/libcrypto/mtc/mtc_tree_test.c
1.1+827-0lib/libcrypto/mtc/mtc_tree.c
1.1+126-0lib/libcrypto/mtc/mtc_internal.h
1.1+14-0regress/lib/libcrypto/mtc/Makefile
1.246+6-1lib/libcrypto/Makefile
1.64+2-1regress/lib/libcrypto/Makefile
+2,068-26 files

OpenBSD/src 2UYog6S — lib/libssl s3_lib.c ssl_pkt.c

   Correct outgoing record checks in the legacy TLSv1.2 stack.

   Ensure an existing record is not being written prior to commencing
   renegotiation or sending an alert in the legacy TLSv1.2 stack. The way
   that TLSv1.2 records are sent was changed in r1.79 of ssl_pkt.c, however
   this failed to correctly handle outgoing record checks. This means that
   renegotiation can be commenced or an alert can be sent while an application
   data record is being written, the size of which is then returned instead of
   the size of the handshake record or alert record, resulting in a buffer
   overread. This is reachable via renegotiation being triggered in the legacy
   TLSv1.2 stack, under the right conditions.

   For now also restore the previous SSL_R_BAD_WRITE_RETRY behaviour, which
   checks that the retried write matches a given set of constraints. This will
   be revisited again in the future.

   Thanks to William T. Nelson for reporting the issue and providing a fix.

   ok kenjiro@
VersionDeltaFile
1.81+16-7lib/libssl/ssl_pkt.c
1.268+3-2lib/libssl/s3_lib.c
+19-92 files

OpenBSD/src SQ2GfSN — usr.sbin/rpki-client crl.c cert.c

   Wrap pthread rwlock, mutex and conditions into simple inline functions

   Introduce thread.h which contains static inline wrappers for the most
   commonly used pthread operations (rwlocks, mutexs and conditions).

   Every pthread call requires an extra error check and this adds a lot of
   unneeded noise into the parser code.
   Use similar names as used in the OpenBSD kernel for mutexes and rwlocks.
   This makes the code more legible.

   OK tb@ job@
VersionDeltaFile
1.202+43-109usr.sbin/rpki-client/parser.c
1.1+120-0usr.sbin/rpki-client/thread.h
1.255+10-20usr.sbin/rpki-client/cert.c
1.55+10-18usr.sbin/rpki-client/crl.c
+183-1474 files

OpenBSD/src MRehF3y — usr.bin/tmux tty-features.c

   Add progressbar feature for Kitty, from errornointernet at envs dot net.
VersionDeltaFile
1.53+2-1usr.bin/tmux/tty-features.c
+2-11 files

OpenBSD/src XVQAsvk — regress/usr.sbin/rpki-client/aspa etAopVS3rmZgUAMze4VL7ZL6jVM.asa

   Add the example from aspa-profile draft
VersionDeltaFile
1.1+0-0regress/usr.sbin/rpki-client/aspa/etAopVS3rmZgUAMze4VL7ZL6jVM.asa
+0-01 files

OpenBSD/src 5jBWJUW — usr.bin/tmux tmux.h server-client.c

   Set cursor colour correctly in prompts, GitHub issue 5829 reported by
   Éric NICOLAS.
VersionDeltaFile
1.9+17-12usr.bin/tmux/prompt.c
1.534+9-2usr.bin/tmux/server-client.c
1.1475+2-1usr.bin/tmux/tmux.h
+28-153 files

OpenBSD/src rLC9OZn — usr.bin/tmux key-bindings.c

   Fix note of C-b ( and ) key bindings, from Tom Levy.
VersionDeltaFile
1.198+3-3usr.bin/tmux/key-bindings.c
+3-31 files

OpenBSD/src 6mwnzl4 — usr.bin/tmux format.c

   Cache localtime result within the same second, from Andrea Cappuccio.
VersionDeltaFile
1.435+12-2usr.bin/tmux/format.c
+12-21 files

OpenBSD/src lfjLxfv — sys/dev/pci ahc_pci.c

   Triggering the code to correctly initialize the second controller when
   placed in a multi-function pci device had been removed by accident in r1.42.
VersionDeltaFile
1.65+7-2sys/dev/pci/ahc_pci.c
+7-21 files

OpenBSD/src sOQRP1B — usr.sbin/rpki-client extern.h cert.c

   rpki-client: enforce a single AS identifier in ASPA EE certs

   Expose cert_has_one_as() and use it in aspa_cert_info() to enforce a
   requirement added to the I-D in January.

   Reported by Shreyas S

   ok claudio
VersionDeltaFile
1.49+6-1usr.sbin/rpki-client/aspa.c
1.254+2-2usr.sbin/rpki-client/cert.c
1.322+2-1usr.sbin/rpki-client/extern.h
+10-43 files

OpenBSD/src Gb3hJbQ — sbin/savecore savecore.c, usr.bin/vmstat dkstats.c vmstat.c

   Stop prepending underscores to symbol names in nlist(3) input. This used to
   matter back when some OpenBSD platforms were using the a.out binary format,
   which adds such underscores to symbols produced from C code; but now that
   all binaries are ELF, there is no need for these underscores anymore.

   Note that this does not change the behaviour of nlist(3) yet - if the
   symbol being looked for is not found, and starts with an underscore, a second
   lookup is still performed without the leading underscore.

   With tweaks from cludwig@
VersionDeltaFile
1.18+19-19usr.sbin/config/ukc.h
1.52+17-17usr.sbin/installboot/i386_installboot.c
1.68+15-15sbin/savecore/savecore.c
1.24+9-9usr.sbin/installboot/i386_softraid.c
1.161+9-9usr.bin/vmstat/vmstat.c
1.43+8-8usr.bin/vmstat/dkstats.c
+77-7718 files not shown
+152-15224 files

OpenBSD/src xMGY1KX — include kvm.h, usr.sbin/kvm_mkdb nlist.c

   No longer prefix an underscore to symbol names put in kvm_mkdb's database.
VersionDeltaFile
1.54+2-3usr.sbin/kvm_mkdb/nlist.c
1.19+2-2include/kvm.h
+4-52 files

OpenBSD/src E5jbOAu — sys/kern tty_pty.c

   Do not allow TIOCSCTTY, TIOCNOTTY, or TIOCSPGRP on the pty master.  Return
   ENOTTY for all 3 of these.  They could create incoherent session states,
   leading to dangerous UAF reported by openai (unfortunately their proposed
   patch was batshit crazy and made the situation worse, due to not identifying
   this as root cause, and writing code to support the condition).  with claudio
   various versions ok kettenis kirill and others
VersionDeltaFile
1.117+6-1sys/kern/tty_pty.c
+6-11 files

OpenBSD/src uU5ZvYZ — sys/net if_gre.c

   nvgre should check IFF_RUNNING in SIOCSLIFPHYRTABLE.

   this makes it consistent with the other tunnel ioctl paths.
VersionDeltaFile
1.196+10-5sys/net/if_gre.c
+10-51 files

OpenBSD/src 1e0NPas — sys/net if_gre.c

   get rid of the ifmedia bits in the ethernet tunnels.

   the ifmedia ioctls werent wired up on these interfaces, so all this
   was doing was wasting space in the softcs. so no functional change.
VersionDeltaFile
1.195+1-35sys/net/if_gre.c
+1-351 files

OpenBSD/src csOieb5 — sys/net if_gre.c

   call etherbridge_up and _down in nvgre_up and _down.

   etherbridge_up is needed to start aging entries in the etherbridge code.

   reported by tom smyth
   "looks good" jmatthew@
VersionDeltaFile
1.194+11-3sys/net/if_gre.c
+11-31 files

OpenBSD/src rvssdRs — sys/arch/hppa/gsc harmony.c

   Correctly return EINVAL for invalid input in harmony_get_port().
VersionDeltaFile
1.43+2-2sys/arch/hppa/gsc/harmony.c
+2-21 files

OpenBSD/src QoV8IvM — sys/dev/tc asc_tc.c

   No need to provide an empty gl_clear_latched_intr callback in the
   ncr53c9x_glue struct, for it is optional.
VersionDeltaFile
1.16+2-8sys/dev/tc/asc_tc.c
+2-81 files

OpenBSD/src tjUA9g0 — sys/dev/tc ioasicvar.h ioasic_subr.c

   Remove unusod ioasic_submatch().
VersionDeltaFile
1.4+1-10sys/dev/tc/ioasic_subr.c
1.11+1-3sys/dev/tc/ioasicvar.h
+2-132 files

OpenBSD/src QAfw51i — sys/dev/pci if_de.c

   Make multiple statements work within an if() condition by adding the
   implied, but not written, {} braces.
VersionDeltaFile
1.145+5-3sys/dev/pci/if_de.c
+5-31 files

OpenBSD/src ScyBdaG — sys/arch/alpha/tc tc_conf.h tc_3000_500.c, sys/dev/tc tc.c tcds.c

   Remove a bunch of *intr_disestablish() functions which are never used.
VersionDeltaFile
1.22+1-36sys/arch/alpha/tc/tc_3000_300.c
1.22+1-31sys/arch/alpha/tc/ioasic.c
1.13+6-23sys/dev/tc/tcds.c
1.26+1-26sys/arch/alpha/tc/tc_3000_500.c
1.23+1-10sys/dev/tc/tc.c
1.13+1-5sys/arch/alpha/tc/tc_conf.h
+11-1313 files not shown
+14-1409 files

OpenBSD/src c228jsc — sys/arch/alpha/alpha machdep.c, sys/arch/alpha/include cpu.h

   Remove unused regdump().
VersionDeltaFile
1.207+3-14sys/arch/alpha/alpha/machdep.c
1.81+1-2sys/arch/alpha/include/cpu.h
+4-162 files

OpenBSD/src A1E7mDB — sys/arch/alpha/alpha dec_kn300.c api_up1000.c

   Remove redundant bootdev_debug declarations.
VersionDeltaFile
1.12+1-2sys/arch/alpha/alpha/dec_kn300.c
1.15+1-2sys/arch/alpha/alpha/api_up1000.c
+2-42 files

OpenBSD/src AgBB1s7 — sys/dev/isa spkr.c

   Move a bunch of global variables to the softc. NFCI
VersionDeltaFile
1.28+103-94sys/dev/isa/spkr.c
+103-941 files

OpenBSD/src jizJDio — sys/kern subr_disk.c

   Oops. Missed one MAXPARTITIONS -> maxparts in checklabel().
VersionDeltaFile
1.291+2-2sys/kern/subr_disk.c
+2-21 files

OpenBSD/src sjAqAeG — usr.sbin/vmd vioblk.c

   vmd(8): Actually check alignment

   The alignment check tested offset and xfer_sz with &&, so it only
   rejected a request when both were misaligned.  offset is now always a
   multiple of VIRTIO_BLK_SECTOR_SIZE, so that half is dead code; check
   xfer_sz alone and fail when it is not a multiple of the sector size.
   Also report the correct direction in the warning.

   ok dv@
VersionDeltaFile
1.39+5-9usr.sbin/vmd/vioblk.c
+5-91 files

OpenBSD/src eQF5psN — usr.sbin/vmd vioblk.c

   vmd(8): Reject vioblk requests beyond the disk capacity

   vioblk_io() converted the guest-controlled sector to a byte offset and
   passed it to the backend without comparing it against the disk capacity.
   With a raw image on a regular file, pwritev() extends the file, so a
   privileged guest could write past the configured size and exhaust the
   host filesystem.

   Pass the sector number to vioblk_io() as an unsigned value and defer the
   conversion to a byte offset until after the bounds check.  Once the full
   transfer length is known, reject a start beyond capacity or a transfer
   that crosses the end, then convert to off_t.  The check is done in
   unsigned arithmetic; the subtraction order avoids underflow and it never
   multiplies the attacker-controlled sector.

   From Acts1631, thanks!

   ok dv@
VersionDeltaFile
1.38+13-7usr.sbin/vmd/vioblk.c
+13-71 files

OpenBSD/src JMeQrkF — libexec/ld.so Makefile

   typo; from mlarkin
VersionDeltaFile
1.92+2-2libexec/ld.so/Makefile
+2-21 files