CVS commit: src/usr.sbin/rpcbind

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 05:58:45 UTC 2021 Modified Files: src/usr.sbin/rpcbind: rpcb_svc_com.c Log Message: avoid potential uninitialised variable use. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/compat/netbsd32

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 05:28:16 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_execve.c Log Message: GCC 10 does not like casting from one identical anonymous enum to another enum. supply some quietening cast. To generate a diff

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 05:04:54 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Reschedule softint to process packets enqueued to ppoediscinq while doing pppoe_data_input And added a empty check for ppoeinq, for safety To

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 05:00:06 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added missing counter clear when a pppoe state changes to PADI_SENT To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161

CVS commit: src

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 04:59:00 UTC 2021 Modified Files: src/external/bsd/ntp/bin/ntpdc: Makefile src/external/bsd/ntp/lib/libntp: Makefile src/external/bsd/tmux/usr.bin/tmux: Makefile

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 04:57:15 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added a NULL check for parent interface of pppoe To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/net/if_pppoe.c

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 04:53:22 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Hold the lock for pppoe while referencing sc_id that is an item of struct pppoe_softc To generate a diff of this commit: cvs rdiff -u -r1.158

CVS commit: src/external/cddl/osnet

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 04:52:01 UTC 2021 Modified Files: src/external/cddl/osnet: Makefile.inc Makefile.zfs Log Message: use -fcommon here. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/cddl/osnet/Makefile.inc cvs

CVS commit: src/external/mpl/dhcp

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 04:14:46 UTC 2021 Modified Files: src/external/mpl/dhcp: Makefile.inc Log Message: use -fcommon here too. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/mpl/dhcp/Makefile.inc Please note that

CVS commit: src/sys/dev/ic

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 04:13:52 UTC 2021 Modified Files: src/sys/dev/ic: bwfm.c Log Message: remove extra line that clearly isn't meant to be there and may trigger uninitialised reads of variables. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 03:27:14 UTC 2021 Modified Files: src/sys/dev/ic: ath.c src/sys/external/isc/atheros_hal/dist: ah_eeprom_v1.c ah_eeprom_v14.c ah_eeprom_v3.c ah_eeprom_v4k.c

CVS commit: src/usr.bin/config

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 03:09:42 UTC 2021 Modified Files: src/usr.bin/config: sem.c Log Message: ensure that pointer is filled in when used upon return. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/usr.bin/config/sem.c

CVS commit: src/games/backgammon/common_source

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 02:11:40 UTC 2021 Modified Files: src/games/backgammon/common_source: Makefile fancy.c Log Message: no longer need -Wno-error=implicit-fallthrough. don't provide common symbols that are in libterminfo now days. To

CVS commit: src/usr.bin/usbhidaction

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 02:07:35 UTC 2021 Modified Files: src/usr.bin/usbhidaction: usbhidaction.c Log Message: increase the size of a buffer by 1 byte. i think GCC 10 is right here. To generate a diff of this commit: cvs rdiff -u -r1.29

CVS commit: src/games/robots

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 01:50:46 UTC 2021 Modified Files: src/games/robots: score.c Log Message: properly terminate after using strncpy(). To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/games/robots/score.c Please note that

CVS commit: src/usr.bin/checknr

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 01:38:04 UTC 2021 Modified Files: src/usr.bin/checknr: checknr.c Log Message: properly terminate a string after strncpy(). To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/checknr/checknr.c

CVS commit: src/external/mpl/bind

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 01:15:57 UTC 2021 Modified Files: src/external/mpl/bind: Makefile.inc Log Message: use -fcommon. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/mpl/bind/Makefile.inc Please note that diffs

CVS commit: src

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 01:11:06 UTC 2021 Modified Files: src/external/bsd/top/bin: Makefile src/external/gpl3/gdb: Makefile.inc src/usr.sbin/racoon: Makefile Log Message: apply -fcommon to sources that still rely upon it. To

CVS commit: src/sys/sys

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 01:10:24 UTC 2021 Modified Files: src/sys/sys: sysctl.h Log Message: in struct evcnt_sysctl, change ev_strings[0] to ev_strings[]. GCC 10 does not like accesses to zero length arrays. To generate a diff of this commit:

CVS commit: src/lib/libpthread

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 00:31:54 UTC 2021 Modified Files: src/lib/libpthread: pthread.c Log Message: fake-use alloca()'s return value to quieten -Werror=unused-result To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179

CVS commit: src/lib/libform

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 00:29:42 UTC 2021 Modified Files: src/lib/libform: type_alnum.c type_alpha.c Log Message: allocate the potential trailing nul as well. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/lib/libc/rpc

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 00:29:22 UTC 2021 Modified Files: src/lib/libc/rpc: getrpcent.c Log Message: pass dest buffer size to strncpy() and ensure nul termination. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/usr.bin/make

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 18:53:51 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: spell SysV in mixed case No functional change. To generate a diff of this commit: cvs rdiff -u -r1.925 -r1.926 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 18:48:00 UTC 2021 Modified Files: src/usr.bin/make: str.h var.c Log Message: make: reduce memory allocation and strlen calls in modifier ':from=to' Previously, SysVMatch was quite verbose and felt like hand-optimized

CVS commit: src/usr.bin/make/unit-tests

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 16:09:57 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-sysv.exp varmod-sysv.mk Log Message: tests/make: fix test for modifier ':from=to' I had forgotten to remove the single quotes, to produce a really

CVS commit: src/usr.bin/make/unit-tests

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 16:04:31 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-sysv.exp varmod-sysv.mk Log Message: tests/make: add table test for the modifier ':from=to' Just to prevent any accidental change in the upcoming

CVS commit: src/usr.bin/xlint/lint1

2021-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 12 15:55:26 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c Log Message: Add attribute fallthrough To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/usr.bin/xlint/lint1/cgram.y cvs

CVS commit: src/tests/usr.bin/xlint/lint1

2021-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 12 15:54:55 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_220.c Log Message: Add an example of attribute fallthrough To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/usr.bin/make

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 13:28:35 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: in the ':Q' modifier, only allocate memory if necessary To generate a diff of this commit: cvs rdiff -u -r1.923 -r1.924

CVS commit: src/usr.sbin/hdaudioctl

2021-04-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Mon Apr 12 12:22:10 UTC 2021 Modified Files: src/usr.sbin/hdaudioctl: hdaudioctl.8 Log Message: hdaudioctl.8: add missing arguments pointed out by RVP To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/arch/mips/mips

2021-04-12 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Apr 12 11:35:22 UTC 2021 Modified Files: src/sys/arch/mips/mips: db_disasm.c Log Message: Print target addresses similar to aarch64 as "address " instead of " [addr:address]". Uses less columns, a bit easier on the eyes.

CVS commit: src/usr.sbin/moused

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:30:32 UTC 2021 Modified Files: src/usr.sbin/moused: moused.c Log Message: avoid attempting to print NULL. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/moused/moused.c Please note that

CVS commit: src/usr.sbin/ac

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:29:53 UTC 2021 Modified Files: src/usr.sbin/ac: ac.c Log Message: use strlcpy() to ensure desired nul termination. trailing nul bytes are not needed here. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/external/bsd/gnu-efi/dist/lib

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:24:25 UTC 2021 Modified Files: src/sys/external/bsd/gnu-efi/dist/lib: misc.c Log Message: avoid uninitialised variable access. make this case like the other 2 around it. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/sbus

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:23:33 UTC 2021 Modified Files: src/sys/dev/sbus: magma.c Log Message: handle cd1400_compute_baud() failure and avoid reading uninitialised variables. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/sys/dev/nvmm

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:22:58 UTC 2021 Modified Files: src/sys/dev/nvmm: nvmm.c Log Message: be sure to only access vcpu if it was initialised. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/nvmm/nvmm.c Please

CVS commit: src/sys/dev/ieee1394

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:22:21 UTC 2021 Modified Files: src/sys/dev/ieee1394: firewire.h Log Message: convert union member from [0] array to [3] array, so that attempts to access these members later will work. does not affect size of the

CVS commit: src/sys/arch/sun68k/stand/libsa

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:19:10 UTC 2021 Modified Files: src/sys/arch/sun68k/stand/libsa: netif_sun.c Log Message: use libsa/saerrno.h instead of our own errno definitions. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/arch/alpha/stand/common

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:18:45 UTC 2021 Modified Files: src/sys/arch/alpha/stand/common: OSFpal.c Log Message: avoid common symbols. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/alpha/stand/common/OSFpal.c

CVS commit: src/sbin/mount_portal

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:18:14 UTC 2021 Modified Files: src/sbin/mount_portal: pt_filter.c Log Message: properly terminate a buffer after strncpy(). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/lib/libtelnet

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:17:48 UTC 2021 Modified Files: src/lib/libtelnet: kerberos5.c Log Message: pass the right enum to krb5_auth_con_setkeytype(). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libskey

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:17:10 UTC 2021 Modified Files: src/lib/libskey: put.c Log Message: avoid an unlikely buffer truncation. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libskey/put.c Please note that diffs are

CVS commit: src/lib/libm/src

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:15:52 UTC 2021 Modified Files: src/lib/libm/src: k_standard.c Log Message: add a default: case to __kernel_standard(), failing with EDOM To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/games/adventure

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:12:28 UTC 2021 Modified Files: src/games/adventure: save.c Log Message: avoid leaving off the trailing nul in a literal string. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/games/adventure/save.c

CVS commit: src/external/gpl3/gcc/dist/gcc

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 09:03:39 UTC 2021 Modified Files: src/external/gpl3/gcc/dist/gcc: config.gcc Log Message: arm/netbsd-elf.h is necessary for eabi targets. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/external/bsd/ekermit/dist

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 08:55:22 UTC 2021 Modified Files: src/external/bsd/ekermit/dist: kermit.c Log Message: properly size a buffer to include the trailing nul. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2

CVS commit: src/external/bsd/bc/dist

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 08:54:11 UTC 2021 Modified Files: src/external/bsd/bc/dist: global.h Log Message: avoid common symbols. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/bsd/bc/dist/global.h Please note that

CVS commit: src/external/gpl3/gcc

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 08:31:30 UTC 2021 Modified Files: src/external/gpl3/gcc: README.gcc10 Log Message: updates: - arm64 doesn't build (missing __aarch64_swp1_acq in kernels) - mips cpu targets all build (maybe not all ports) - powerpc builds

CVS commit: xsrc/external/mit/ctwm/dist

2021-04-12 Thread Michael van Elst
Module Name:xsrc Committed By: mlelstv Date: Mon Apr 12 06:42:31 UTC 2021 Modified Files: xsrc/external/mit/ctwm/dist: add_window.c Log Message: Reapply font calculation fix. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 06:08:31 UTC 2021 Modified Files: src/external/bsd/libarchive/lib/libarchive: Makefile src/external/bsd/ntp/lib/libopts: Makefile src/external/bsd/openldap/lib/liblber: Makefile