OpenBSD/src eUSfULx — usr.sbin/vmd x86_mmio.c

   Add truncation detection to vmd's instruction decoder.

   vmd(8) ultimately needs a way to deal with instructions that cross
   page boundaries. This is a baby step to get there by fixing up the
   decoder logic to detect when we're out of fetched instruction bytes
   but not done decoding an instruction. Next steps will be to add in
   cross-page fetching and injecting #PF if the next page is paged out
   and we weren't able to decode with just the bytes from the first page.

   These state machine changes uncovered some issues with 16-bit
   addressing and decoding that got fixed along the way.

   ok mlarkin@
VersionDeltaFile
1.7+248-205usr.sbin/vmd/x86_mmio.c
+248-2051 files

OpenBSD/src pRqjFyV — sys/net pf.c

   In pf(4) check extension header length.

   pf_walk_header6() advances the packet offset for each IPv6 extension
   header.  It was not checked that this does not exceed the packet
   length if no next header was processed.  When used with af-to rules,
   this could trigger a panic: m_copydata: null mbuf.

   from Acts1631; OK henning@ sashan@
VersionDeltaFile
1.1243+15-4sys/net/pf.c
+15-41 files

OpenBSD/src vxS3idv — share/man/man5 python-module.5

   document MODPY_PYTEST_IGNORE
VersionDeltaFile
1.25+21-12share/man/man5/python-module.5
+21-121 files

OpenBSD/src 0vmmCrG — share/man/man4 usb.4

   This page contains the unusual case of a word that is 50 characters long.
   Sprinkle some \: (optional line break points) inside that word to allow
   for nicer line breaking.  Normally, manual page authors do not need to
   worry about such details.
   While here, also break an overlong input line.
   No text change.
VersionDeltaFile
1.225+4-4share/man/man4/usb.4
+4-41 files

OpenBSD/src xVJt79j — regress/usr.bin/mandoc/char/space break.out_html Makefile

   test \: in -T html; related to mandoc/chars.c rev. 1.52
VersionDeltaFile
1.3+4-3regress/usr.bin/mandoc/char/space/break.in
1.2+3-2regress/usr.bin/mandoc/char/space/break.out_utf8
1.5+3-2regress/usr.bin/mandoc/char/space/break.out_ascii
1.16+2-2regress/usr.bin/mandoc/char/space/Makefile
1.1+2-0regress/usr.bin/mandoc/char/space/break.out_html
+14-95 files

OpenBSD/src Z2zKx8G — usr.bin/mandoc chars.c

   Map \: to U+200B (breaking) ZERO WIDTH SPACE.
   This isn't used for terminal output, where \: merely influences
   line breaking but does not produce any output character,
   but it improves HTML output.
VersionDeltaFile
1.52+2-2usr.bin/mandoc/chars.c
+2-21 files

OpenBSD/src y1TBuQN — regress/usr.bin/mandoc/roff/esc l.out_ascii l.in

   systematically test using special character escape sequences
   as argument delimiters of an escape sequence argument,
   even if the argument contains a different special character;
   related to roff_escape.c rev. 1.18
VersionDeltaFile
1.7+30-30regress/usr.bin/mandoc/roff/esc/l.out_lint
1.5+18-6regress/usr.bin/mandoc/roff/esc/l.in
1.6+10-2regress/usr.bin/mandoc/roff/esc/l.out_ascii
+58-383 files

OpenBSD/src VdSud6c — usr.bin/mandoc roff_escape.c

   Fix handling of special character escape sequences
   used as escape sequence argument delimiters.

   When a first inner escape sequence is used as the opening delimiter
   of the argument of an outer escape sequence, the code parses the
   argument looking for a second inner escape sequence.  If the
   characters after the escape character of the first and second
   matched, the code treated the second as the closing delimiter.
   That resulted in prematurely ending the argument if the first
   and second referred to different special characters.

   Instead, if the first is a special character, only treat the second
   as the closing delimiter if the first and second are completely
   equal.  Otherwise, threat the second as part of the argument and
   keep parsing the argument for a matching delimiter.

   For escape sequence argument delimiters that are not special
   characters, nothing changes: non-character escapes continue to match
   in a delimiter role as long as their name characters match, even
   if their arguments differ.
VersionDeltaFile
1.18+17-10usr.bin/mandoc/roff_escape.c
+17-101 files

OpenBSD/src CtOWU33 — usr.bin/mandoc term.c

   When rendering the \l (horizontal line) escape sequence,
   correctly determine whether a drawing glyph is specified
   before the delimiter closing the escape sequence.

   The code only compared the first input byte of the candidate
   to the last input byte of the opening delimiter, treating the
   candidate as a drawing glyph on mismatch, which only worked
   correctly for single-byte delimiters.
   When an escape sequence is used as a delimiter, that escape
   sequence was erroneously used as the drawing glyph, too.

   Instead of needlessly and incorrectly trying to compare the
   opening and closing delimiters, use the argument information
   returned from mandoc_escape(): if a2roffsu() consumed the
   whole argument, use the default drawing glyph; otherwise,
   use the rest of the argument as the drawing glyph.
VersionDeltaFile
1.157+2-2usr.bin/mandoc/term.c
+2-21 files

OpenBSD/src QIbszF8 — usr.sbin/dhcpd options.c

   Discard packets with unsupported htype's.

   Potential problem pointed out by Acts1631.

   ok tb@
VersionDeltaFile
1.39+12-3usr.sbin/dhcpd/options.c
+12-31 files

OpenBSD/src 4q2xvL6 — usr.bin/tmux cmd-choose-tree.c tmux.1

   Add sort order flags to switch-mode, GitHub issue 5696 from harikp2002
   at gmail dot com.
VersionDeltaFile
1.5+18-3usr.bin/tmux/window-switch.c
1.1180+12-2usr.bin/tmux/tmux.1
1.59+4-3usr.bin/tmux/cmd-choose-tree.c
+34-83 files

OpenBSD/src Kun9eB6 — usr.bin/tmux tmux.1 options-table.c

   Show match count in copy mode, GitHub issue 5399.
VersionDeltaFile
1.436+103-16usr.bin/tmux/window-copy.c
1.251+7-3usr.bin/tmux/options-table.c
1.1179+4-2usr.bin/tmux/tmux.1
+114-213 files

OpenBSD/src EEKldtt — usr.bin/tmux spawn.c tmux.1

   Add window-default-command option to override default-command per
   window, from Meriel Sartha Mittelbach.
VersionDeltaFile
1.250+9-1usr.bin/tmux/options-table.c
1.1178+8-1usr.bin/tmux/tmux.1
1.55+4-2usr.bin/tmux/spawn.c
+21-43 files

OpenBSD/src hQTKFIY — regress/usr.bin/mandoc/char/space Makefile break.out_utf8

   test -T utf8 handling of the \: escape sequence
   related to term.c rev. 1.156
VersionDeltaFile
1.1+12-0regress/usr.bin/mandoc/char/space/break.out_utf8
1.15+2-2regress/usr.bin/mandoc/char/space/Makefile
+14-22 files

OpenBSD/src 6qXqQBW — usr.bin/mandoc term.c

   The point of the \: escape sequence is to allow an optional output
   line break, whatever the output mode may be.  It is not supposed
   to produce an output glyph.  Consequently, even in -T utf8 output
   mode, let it put the ASCII_BREAK control code into the output buffer,
   which works in TERMENC_UTF8 mode just as well as in TERMENC_ASCII
   mode, rather than trying to encode it as an UTF-8 code point.
VersionDeltaFile
1.156+4-2usr.bin/mandoc/term.c
+4-21 files

OpenBSD/src 39Y4VQ2 — sys/dev/pci if_mwx.c

   Implement mediaopt monitor for MT7925

   While doing so also improve mwx_dma_rx_dequeue() and remove the KASSERT
   since I triggered that one on MT7925. Further reduce debug noise.
VersionDeltaFile
1.42+86-20sys/dev/pci/if_mwx.c
+86-201 files

OpenBSD/src ggIXC41 — sys/dev/pci if_mwxreg.h

   Unify the UNI command tag definitions in one place and one form.
VersionDeltaFile
1.24+20-21sys/dev/pci/if_mwxreg.h
+20-211 files

OpenBSD/src XrgbRkG — usr.bin/tmux cmd-join-pane.c

   Do not change active pane if joining a pane to the same window. Reported
   by David le Blanc.
VersionDeltaFile
1.77+3-2usr.bin/tmux/cmd-join-pane.c
+3-21 files

OpenBSD/src agoMRF0 — sys/arch/amd64/conf RAMDISK_CD

   enable urndis(4) in the installer on amd64

   ok sthen@
VersionDeltaFile
1.218+2-1sys/arch/amd64/conf/RAMDISK_CD
+2-11 files

OpenBSD/src P5hU4T3 — sys/dev/pci if_mwx.c

   Fix refcnt bug in the tx path and ensure the node drops the refcnt once
   the packet was transmitted.

   Attach the ieee80211_node to the mwx_txwi struct and release the reference
   in mwx_txwi_put() if set. With this the hangs seen on MT7921 are mostly
   gone. Background scans would deassociate from the AP but not switch to
   the new AP because of this refcnt bug.
VersionDeltaFile
1.41+34-26sys/dev/pci/if_mwx.c
+34-261 files

OpenBSD/src 0UbOJae — share/man/man4 usb.4 ure.4

   man4: add RTL8159

   OK: kevlo@
VersionDeltaFile
1.12+13-5share/man/man4/ure.4
1.224+4-3share/man/man4/usb.4
+17-82 files

OpenBSD/src liSRr0L — sys/dev/usb if_urereg.h if_ure.c

   sys/ure: add preliminary support of RTL8159

   OK: kevlo@
VersionDeltaFile
1.38+77-35sys/dev/usb/if_ure.c
1.15+7-2sys/dev/usb/if_urereg.h
+84-372 files

OpenBSD/src ggr05i1 — sys/dev/usb usbdevs.h usbdevs_data.h

   regen
VersionDeltaFile
1.797+5-1sys/dev/usb/usbdevs_data.h
1.803+2-1sys/dev/usb/usbdevs.h
+7-22 files

OpenBSD/src 1OvSUF7 — sys/dev/usb usbdevs

   sys/usbdevs: add RTL8159
VersionDeltaFile
1.791+2-1sys/dev/usb/usbdevs
+2-11 files

OpenBSD/src Wrxu1s5 — usr.bin/ssh ssh-gss.h gss-serv.c

   ssh_gssapi_cleanup_global_client() needs a prototype

   ok dtucker@

   /usr/src/usr.bin/ssh/ssh/../ssh-gss.h:115:38: error: a function
   declaration without a prototype is deprecated in all versions of C
   [-Werror,-Wstrict-prototypes]
     115 | void ssh_gssapi_cleanup_global_client();
         |                                      ^
         |                                       void
   1 error generated.
VersionDeltaFile
1.19+2-2usr.bin/ssh/ssh-gss.h
1.40+2-2usr.bin/ssh/gss-serv.c
+4-42 files

OpenBSD/src 5KDp78L — usr.bin/tmux tty.c

   Fix tty_clamp_area with status lines at the top and a smaller client,
   GitHub issue 5697 from Yasuhiro Inami.
VersionDeltaFile
1.485+10-6usr.bin/tmux/tty.c
+10-61 files

OpenBSD/src 8HEEphv — lib/libssl d1_lib.c

   Avoid OPENSSL_assert(s->d1->mtu >= dtls1_min_mtu()) in dtls1_do_write()
   when custom BIO is used. The assert is tripped if custom BIO does not
   support QUERY_MTU operation and message is being retransmitted after
   timeout expires.

   Issue reported and patch submitted by
   "Pavel (Narayana OU)" (pd _at_ narayana _dot_ im)

   OK kenjiro@
VersionDeltaFile
1.71+3-2lib/libssl/d1_lib.c
+3-21 files

OpenBSD/src i3SsUx5 — sys/arch/i386/conf GENERIC RAMDISK_CD

   add uncm(4) to i386 GENERIC config, and uncm(4) and urndis(4) to RAMDISK_CD.
   ok deraadt
VersionDeltaFile
1.257+3-1sys/arch/i386/conf/RAMDISK_CD
1.867+2-1sys/arch/i386/conf/GENERIC
+5-22 files

OpenBSD/src 5DnHAfJ — regress/usr.bin/mandoc/mdoc/Bl badBd.out_html Makefile, usr.bin/mandoc mdoc_macro.c

   When a .Bd block is broken by an .It macro and hence implicitly ended,
   restore the ROFF_NOFILL global parser state to what is was before the block.
   This fixes an assertion failure in the HTML formatter triggered
   by the nonsensical sequence of macros .Bl .Bd -unfilled .It
   that kristaps@ found in the pam_smartcard(8) manual on macOS.
VersionDeltaFile
1.1+17-0regress/usr.bin/mandoc/mdoc/Bl/badBd.out_markdown
1.1+16-0regress/usr.bin/mandoc/mdoc/Bl/badBd.in
1.1+13-0regress/usr.bin/mandoc/mdoc/Bl/badBd.out_ascii
1.194+9-2usr.bin/mandoc/mdoc_macro.c
1.44+5-3regress/usr.bin/mandoc/mdoc/Bl/Makefile
1.1+5-0regress/usr.bin/mandoc/mdoc/Bl/badBd.out_html
+65-51 files not shown
+69-57 files

OpenBSD/src 9kaFSxY — usr.bin/tmux tmux.h tty-keys.c

   Parse terminal replies with keys and apply them only when finished, so
   that a preceding Escape can be handled correctly. GitHub issue 5676 from
   Joan Fabrégat.
VersionDeltaFile
1.216+286-245usr.bin/tmux/tty-keys.c
1.1453+11-1usr.bin/tmux/tmux.h
+297-2462 files