NetBSD/src eage6aZlib/libc/citrus/modules citrus_viqr.c

   citrus/VIQR: unsigned chlen for simplicity; sprinkle assertions.

   PR 59019: various iconv issues
VersionDeltaFile
1.9+14-3lib/libc/citrus/modules/citrus_viqr.c
+14-31 files

NetBSD/src 0n1zEmmlib/libc/citrus/modules citrus_utf7.c

   citrus/UTF7: unsigned chlen for simplicity; sprinkle assertions.

   PR 59019: various iconv issues
VersionDeltaFile
1.9+26-6lib/libc/citrus/modules/citrus_utf7.c
+26-61 files

NetBSD/src 10gCbbolib/libc/citrus/modules citrus_hz.c

   citrus/HZ: Be more careful about encoding buffer.

   1. Use unsigned char for chlen, since it's never negative and only
      needs to be big enough for the ch array.

   2. Expand the ch array by space for two escape sequences, each of
      which is two characters.

      I don't think it is currently possible with the i18n data we ship
      for it to emit two escape sequences in a row -- there is a code
      path to do this, but I don't think it can be reached without
      setting escape sequences for variable 1 and extending this in some
      way.  Nevertheless, let's err on the side of safety.

   3. Sprinkle assertions everywhere.

   PR 59019: various iconv issues
VersionDeltaFile
1.7+22-6lib/libc/citrus/modules/citrus_hz.c
+22-61 files

NetBSD/src D74v71Slib/i18n_module Makefile.inc, lib/libc/citrus/modules citrus_viqr.c citrus_iconv_std.c

   i18n_modules: Build with _DIAGNOSTIC.

   Fix some bitrot that it turned up here.

   PR 59019: various iconv issues
VersionDeltaFile
1.8+19-6lib/libc/citrus/modules/citrus_viqr.c
1.17+6-4lib/libc/citrus/modules/citrus_iconv_std.c
1.6+6-4lib/libc/citrus/modules/citrus_hz.c
1.15+2-1lib/i18n_module/Makefile.inc
+33-154 files

NetBSD/src GLq16Yytests/lib/libc/locale t_iconv.c

   iconv(3): Fix printing bytes on test failure.

   Don't sign-extend to a 32-bit quantity causing the left to be padded
   with f's; just print the 8-bit quantity.

   PR 59019: various iconv issues
VersionDeltaFile
1.8+5-5tests/lib/libc/locale/t_iconv.c
+5-51 files

NetBSD/src exLfYVQtests/lib/libc/locale t_iconv.c

   iconv(3): Expand ISO-2022-CN tests a little.

   This one is broken for a partial input case, not yet sure why.

   PR 59019: various iconv issues
VersionDeltaFile
1.7+19-4tests/lib/libc/locale/t_iconv.c
+19-41 files

NetBSD/src tLcn45Jtests/lib/libc/locale t_iconv.c

   iconv(3): Add a test case for ISO-2022-CN.

   From Mark Johnston of FreeBSD.

   PR 59019: various iconv issues
VersionDeltaFile
1.6+7-2tests/lib/libc/locale/t_iconv.c
+7-21 files

NetBSD/src iXtkor3lib/libc/citrus/modules citrus_zw.c, tests/lib/libc/locale t_iconv.c

   iconv(3): Fix buffer overrun in ZW encoding.

   Based on a report by Nick Wellnhofer.

   PR 59019: various iconv issues
VersionDeltaFile
1.7+5-2lib/libc/citrus/modules/citrus_zw.c
1.5+3-3tests/lib/libc/locale/t_iconv.c
+8-52 files

NetBSD/src KdxNOXslib/libc/citrus/modules citrus_viqr.c, tests/lib/libc/locale t_iconv.c

   iconv(3): Fix buffer overrun in VIQR encoding.

   Based on a report by Nick Wellnhofer.

   PR 59019: various iconv issues
VersionDeltaFile
1.7+7-3lib/libc/citrus/modules/citrus_viqr.c
1.4+3-3tests/lib/libc/locale/t_iconv.c
+10-62 files

NetBSD/src XWZH6ktlib/libc/citrus/modules citrus_utf7.c, tests/lib/libc/locale t_iconv.c

   iconv(3): Fix buffer overrun in UTF-7 encoding.

   Based on a report by Nick Wellnhofer.

   PR 59019: various iconv issues
VersionDeltaFile
1.8+16-6lib/libc/citrus/modules/citrus_utf7.c
1.3+5-5tests/lib/libc/locale/t_iconv.c
+21-112 files

NetBSD/src Pv4xBtflib/libc/citrus/modules citrus_hz.c, tests/lib/libc/locale t_iconv.c

   iconv(3): Fix null pointer dereference with HZ8 encoding.

   Based on a report by Nick Wellnhofer.

   PR 59019: various iconv issues
VersionDeltaFile
1.2+2-4tests/lib/libc/locale/t_iconv.c
1.5+4-2lib/libc/citrus/modules/citrus_hz.c
+6-62 files

NetBSD/src zZNqQJ5distrib/sets/lists/debug mi, distrib/sets/lists/tests mi

   iconv(3): Draft some automatic tests.

   Based on a report by Nick Wellnhofer.

   PR 59019: various iconv issues
VersionDeltaFile
1.1+354-0tests/lib/libc/locale/t_iconv.c
1.515+2-1distrib/sets/lists/debug/mi
1.1423+2-1distrib/sets/lists/tests/mi
1.19+2-1tests/lib/libc/locale/Makefile
+360-34 files

NetBSD/src UzWRGXksys/arch/ofppc/include intr.h

   Increase the number of possible interrupt sources.

   Needed for MPC5200B, harmless for others.
VersionDeltaFile
1.17+2-2sys/arch/ofppc/include/intr.h
+2-21 files

NetBSD/src ARjs9Kasys/arch/powerpc/include/oea vmparam.h, sys/arch/powerpc/oea pmap.c

   Define number of segment registers, instead of using magic value.
VersionDeltaFile
1.124+3-3sys/arch/powerpc/oea/pmap.c
1.24+1-0sys/arch/powerpc/include/oea/vmparam.h
+4-32 files

NetBSD/src vYo1ZdZsys/arch/ofppc/conf files.ofppc, sys/arch/ofppc/ofppc mainbus.c

   Start wiring up MPC5200B support into ofppc port.

   Interrupt controller peculiarities, properly gating legacy code under kernel
   appropriate options, PSC console support (kludge).
VersionDeltaFile
1.28+18-2sys/arch/powerpc/oea/ofw_consinit.c
1.22+12-2sys/arch/ofppc/pci/ofwpci.c
1.33+7-3sys/arch/ofppc/ofppc/mainbus.c
1.14+3-3sys/arch/powerpc/pci/pcib.c
1.50+4-1sys/arch/ofppc/conf/files.ofppc
+44-115 files

NetBSD/src rBNxzCfsys/arch/powerpc/mpc5200 fec.c fecreg.h

   Several enchancements and bug fixes to FEC driver.

   - Fix SRAM leak in fec_stop()
   - Skip busy wait link-poll on reset and recovery
   - Properly program muilticast hash filter
   - 802.3 full duplex flow control, advertise and honor received pause
   - Statistics exposed via if_stats
   - Accept VLAN frames
VersionDeltaFile
1.2+160-24sys/arch/powerpc/mpc5200/fec.c
1.2+21-1sys/arch/powerpc/mpc5200/fecreg.h
1.2+5-1sys/arch/powerpc/mpc5200/fecvar.h
+186-263 files

NetBSD/src LgLnBMOsys/sys featuretest.h

   sys/featuretest.h: Fix typo in previous.

   POSIX.1-2024 is `Issue 8', not `Issue 7'.  Noticed by kre@.
VersionDeltaFile
1.16+2-2sys/sys/featuretest.h
+2-21 files

NetBSD/src Ha1GneZsys/net if_wg.c, tests/net/if_wg t_basic.sh

   wg(4): Move DoS mitigation a little earlier.

   1. Don't store the cookie -- just recompute it on the fly as a
      pseudorandom function of the current two-minute unit, under a
      secret key generated at interface configuration time.

      This way we don't need to find what peer we're talking with --
      which requires a DH key agreement -- before we can verify mac2.

   2. Actually, recompute _two_ cookies on the fly, one for
      floor(now/60) and the other for 1 + floor(now/60), and accept a
      valid mac2 under either cookie, or if mac2 is not valid, send the
      1 + floor(now/60) cookie.

      This way every cookie is valid for a total possible time of 2min,
      but the cookie we send is always valid for at least 1min in the
      future, so we never send a cookie that's going to immediately
      expire and require another REKEY-TIMEOUT delay (and this works
      without keeping any state).

    [28 lines not shown]
VersionDeltaFile
1.139+235-131sys/net/if_wg.c
1.10+49-7tests/net/if_wg/t_basic.sh
+284-1382 files

NetBSD/src om9o5yDsys/stand/efiboot smbios.h

   s/repersentation/representation/ in one more place.
VersionDeltaFile
1.2+2-2sys/stand/efiboot/smbios.h
+2-21 files

NetBSD/src jk3RLJEsys/arch/powerpc/include/oea pmap.h

   Clamp PMAP_DIRECT_MAPPED_LEN below USER_SR/KERNEL_SR

   Derive it from MIN(USER_SR, KERNEL_SR) so the direct-mapped region never
   overlaps the kernel HTAB window on ports where KERNEL_SR < USER_SR,
   like ofppc. This made pmap_pvo_find_va() panic on legit lookup misses.
VersionDeltaFile
1.40+6-4sys/arch/powerpc/include/oea/pmap.h
+6-41 files

NetBSD/src Qi5f4Evsys/dev/sbus tcx.c

   sbus/tcx.c - Add {} for clang build

   The {} should be there anyway.   A little KNF WSP as well.
VersionDeltaFile
1.68+6-2sys/dev/sbus/tcx.c
+6-21 files

NetBSD/src 81j0s1wsys/dev smbiosvar.h

   s/repersentation/representation/ in comment.
VersionDeltaFile
1.3+2-2sys/dev/smbiosvar.h
+2-21 files

NetBSD/src 7WZ9ekLsys/sys featuretest.h

   sys/featuretest.h: Make _XOPEN_SOURCE>=500<600 imply POSIX.1-1995.

   PR standards/60389: sys/featuretest.h: _XOPEN_SOURCE=520 fails to
   imply _POSIX_C_SOURCE=199506L
VersionDeltaFile
1.15+2-2sys/sys/featuretest.h
+2-21 files

NetBSD/src na0e8q0sys/sys featuretest.h

   sys/featuretest.h: Explain the purpose more forcefully at the top.

   Substantially expand the bibliographic references while here.
VersionDeltaFile
1.14+79-30sys/sys/featuretest.h
+79-301 files

NetBSD/src ujmPCo9doc CHANGES-11.0

   Ticket #358
VersionDeltaFile
1.1.2.113+6-1doc/CHANGES-11.0
+6-11 files

NetBSD/src bwm5TJhsys/arch/m68k/m68k pmap_68k.c

   pmap_kenter_pa() should not be used to overwrite an existing mappings.
   Assert that the PTE for the specified VA is invalid, and remove the
   dead code that handled the case where it wasn't.
VersionDeltaFile
1.73+8-23sys/arch/m68k/m68k/pmap_68k.c
+8-231 files

NetBSD/src vAPVWalsys/arch/m68k/include vmparam.h

   Bump the 68020+ default MAXTSIZ to 64MB.  This allows the pkgsrc build of
   gcc-12 to run and pass the self-tests on virt68k.

   Also bump the 68020+ default DFLDSIZ to 64MB.
VersionDeltaFile
1.13+3-3sys/arch/m68k/include/vmparam.h
+3-31 files

NetBSD/src 6fGZ8KIsys/arch/m68k/include vmparam.h

   Revert previous so I can commit again with a corrected commit message.
VersionDeltaFile
1.12+2-2sys/arch/m68k/include/vmparam.h
+2-21 files

NetBSD/src tHyXlvHsys/arch/m68k/include vmparam.h

   Bump the 68020+ default MAXTSIZ to 64MB.  This allows the pkgsrc build of
   gcc-12 to run and pass the self-tests on virt68k.

   Also bump the 68020+ default MAXDSIZ to 64MB.
VersionDeltaFile
1.11+3-3sys/arch/m68k/include/vmparam.h
+3-31 files

NetBSD/src xkFUMo5sys/arch/mips/mips locore.S

   Tweak a comment indentation
VersionDeltaFile
1.232+6-5sys/arch/mips/mips/locore.S
+6-51 files