Module Name:src
Committed By: rillig
Date: Tue Aug 8 19:57:23 UTC 2023
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c
Log Message:
tests/lint: test integer conversions on ilp32 int platforms
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Tue Aug 8 19:57:23 UTC 2023
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c
Log Message:
tests/lint: test integer conversions on ilp32 int platforms
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
matthew green writes:
> > > - used = dst - conv->wbuff;
> > > + size_t sused = (uintptr_t)dst - (uintptr_t)conv->wbuff;
> >
> > Any particular reason why there is a cast to uintptr_t here? I don't
> > think there is a guarantee that you can calculate an offset by
> > subtracting
Module Name:src
Committed By: msaitoh
Date: Wed Aug 9 03:14:53 UTC 2023
Modified Files:
src/sys/dev/pci: pcidevs
Log Message:
Add some Intel Xeon D-2100 devices. Fix description of Intel 0x37d0.
To generate a diff of this commit:
cvs rdiff -u -r1.1489 -r1.1490
Module Name:src
Committed By: msaitoh
Date: Wed Aug 9 03:14:53 UTC 2023
Modified Files:
src/sys/dev/pci: pcidevs
Log Message:
Add some Intel Xeon D-2100 devices. Fix description of Intel 0x37d0.
To generate a diff of this commit:
cvs rdiff -u -r1.1489 -r1.1490
Module Name:src
Committed By: msaitoh
Date: Wed Aug 9 03:15:48 UTC 2023
Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.1470 -r1.1471 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1469
Module Name:src
Committed By: rillig
Date: Tue Aug 8 20:15:11 UTC 2023
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: in -a mode, do not warn about integer conversions from 'int'
Since tree.c
please review this. i'll try to figure out tests for everything,
though it seems annoying :)
https://www.netbsd.org/~mrg/gcc12-use-after-free.diff
it should handle all the open use-after-free problems.
.mrg.
ps: you'll notice no new headers needed for ptrdiff_t usage ;)
> > - used = dst - conv->wbuff;
> > + size_t sused = (uintptr_t)dst - (uintptr_t)conv->wbuff;
>
> Any particular reason why there is a cast to uintptr_t here? I don't
> think there is a guarantee that you can calculate an offset by
> subtracting uintptr_ts calculated from
Module Name:src
Committed By: rillig
Date: Tue Aug 8 20:15:11 UTC 2023
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: in -a mode, do not warn about integer conversions from 'int'
Since tree.c
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:42:16 UTC 2023
Modified Files:
src/external/gpl3/gcc: README.gcc12
Log Message:
update sparc asan issue with details.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/README.gcc12
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:42:16 UTC 2023
Modified Files:
src/external/gpl3/gcc: README.gcc12
Log Message:
update sparc asan issue with details.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/README.gcc12
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:59:41 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.h
Log Message:
nix the NetBSD specific GEM_BUG_ON().
avoids GCC 12 warnings, and matches upstream closer.
To generate a diff of this
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:59:41 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.h
Log Message:
nix the NetBSD specific GEM_BUG_ON().
avoids GCC 12 warnings, and matches upstream closer.
To generate a diff of this
Joerg Sonnenberger writes:
> On Thu, Aug 03, 2023 at 08:16:31AM +, matthew green wrote:
> > Module Name:src
> > Committed By: mrg
> > Date: Thu Aug 3 08:16:31 UTC 2023
> >
> > Modified Files:
> > src/sys/arch/evbarm/gumstix: gumstix_machdep.c
> >
Module Name:src
Committed By: rin
Date: Tue Aug 8 06:22:31 UTC 2023
Modified Files:
src/distrib/sets/lists/debug: mi
Log Message:
lists: Fix build with MKGCCCMDS=no && MKDEBUGLIB=yes
To generate a diff of this commit:
cvs rdiff -u -r1.415 -r1.416
Module Name:src
Committed By: rin
Date: Tue Aug 8 06:22:31 UTC 2023
Modified Files:
src/distrib/sets/lists/debug: mi
Log Message:
lists: Fix build with MKGCCCMDS=no && MKDEBUGLIB=yes
To generate a diff of this commit:
cvs rdiff -u -r1.415 -r1.416
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:27:33 UTC 2023
Modified Files:
src/external/apache2/llvm/librt: Makefile.inc
src/external/bsd/file/lib: Makefile
src/external/gpl3/gcc: README.warnings
src/external/mit/xorg/lib/dri.old: Makefile
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:27:33 UTC 2023
Modified Files:
src/external/apache2/llvm/librt: Makefile.inc
src/external/bsd/file/lib: Makefile
src/external/gpl3/gcc: README.warnings
src/external/mit/xorg/lib/dri.old: Makefile
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:31:18 UTC 2023
Modified Files:
src/lib/libm/src: k_rem_pio2.c k_rem_pio2f.c
Log Message:
avoid uninitialised variable accesses.
if __kernel_rem_pio2() or __kernel_rem_pio2f() are called with "nx" less
than 2, the
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:31:18 UTC 2023
Modified Files:
src/lib/libm/src: k_rem_pio2.c k_rem_pio2f.c
Log Message:
avoid uninitialised variable accesses.
if __kernel_rem_pio2() or __kernel_rem_pio2f() are called with "nx" less
than 2, the
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:31:58 UTC 2023
Modified Files:
src/usr.sbin/timed/timed: timed.c
Log Message:
use standard strncpy() idiom to completely zero a buffer, including
explicitly nul the final char.
found by GCC 12.
To generate a diff of
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:31:58 UTC 2023
Modified Files:
src/usr.sbin/timed/timed: timed.c
Log Message:
use standard strncpy() idiom to completely zero a buffer, including
explicitly nul the final char.
found by GCC 12.
To generate a diff of
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:57:20 UTC 2023
Modified Files:
src/sys/dev/pci: sisfb.c
Log Message:
ensure all data passed to copyout() has been initialised.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:57:20 UTC 2023
Modified Files:
src/sys/dev/pci: sisfb.c
Log Message:
ensure all data passed to copyout() has been initialised.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
> Date: Mon, 7 Aug 2023 23:58:50 +0200
> From: Tobias Nygren
>
> Is this sort of fix acceptable for the above cases?
>
> + ptrdiff_t offset = pos - buf;
> new_buf = realloc(buf, buf_size);
> if (!new_buf)
>
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:58:20 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/dist/drm: drm_dp_helper.c
Log Message:
comment a function that has a clear overbounds read but it isn't used.
found by GCC 12.
To generate a diff of this
Module Name:src
Committed By: mrg
Date: Tue Aug 8 06:58:20 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/dist/drm: drm_dp_helper.c
Log Message:
comment a function that has a clear overbounds read but it isn't used.
found by GCC 12.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:34:08 UTC 2023
Modified Files:
src/include: cdbw.h
src/lib/libc/cdb: cdbw.3 cdbw.c
Log Message:
cdbw(3): Make cdbw_output descr parameter type less confusing.
This is a string of _up to_ 16 bytes, used
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:34:08 UTC 2023
Modified Files:
src/include: cdbw.h
src/lib/libc/cdb: cdbw.3 cdbw.c
Log Message:
cdbw(3): Make cdbw_output descr parameter type less confusing.
This is a string of _up to_ 16 bytes, used
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:36:04 UTC 2023
Modified Files:
src/lib/libnpf: npf.c
Log Message:
libnpf(3): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc angry about not
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:36:17 UTC 2023
Modified Files:
src/tests/lib/libc: t_cdb.c
Log Message:
t_cdb: No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc angry about not
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:36:17 UTC 2023
Modified Files:
src/tests/lib/libc: t_cdb.c
Log Message:
t_cdb: No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc angry about not
On Tue, Aug 08, 2023 at 01:42:39PM +0200, Rhialto wrote:
> On Tue 08 Aug 2023 at 09:44:41 +1000, matthew green wrote:
> > Index: lib/libedit/chartype.c
> > ===
> > RCS file: /cvsroot/src/lib/libedit/chartype.c,v
> > retrieving
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:36:04 UTC 2023
Modified Files:
src/lib/libnpf: npf.c
Log Message:
libnpf(3): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc angry about not
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:35:21 UTC 2023
Modified Files:
src/usr.sbin/services_mkdb: output_cdb.c
Log Message:
services_mkdb(8): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:35:21 UTC 2023
Modified Files:
src/usr.sbin/services_mkdb: output_cdb.c
Log Message:
services_mkdb(8): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:35:48 UTC 2023
Modified Files:
src/usr.sbin/npf/npftest: npftest.c
Log Message:
npftest(8): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:35:48 UTC 2023
Modified Files:
src/usr.sbin/npf/npftest: npftest.c
Log Message:
npftest(8): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:35:38 UTC 2023
Modified Files:
src/usr.sbin/dev_mkdb: dev_mkdb.c
Log Message:
dev_mkdb(8): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 10:35:38 UTC 2023
Modified Files:
src/usr.sbin/dev_mkdb: dev_mkdb.c
Log Message:
dev_mkdb(8): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer
makes gcc
On Tue, Aug 08, 2023 at 04:01:19PM +1000, matthew green wrote:
> Joerg Sonnenberger writes:
> > On Thu, Aug 03, 2023 at 08:16:31AM +, matthew green wrote:
> > > Module Name: src
> > > Committed By: mrg
> > > Date: Thu Aug 3 08:16:31 UTC 2023
> > >
> > > Modified Files:
>
On Tue 08 Aug 2023 at 09:44:41 +1000, matthew green wrote:
> Index: lib/libedit/chartype.c
> ===
> RCS file: /cvsroot/src/lib/libedit/chartype.c,v
> retrieving revision 1.36
> diff -p -u -r1.36 chartype.c
> --- lib/libedit/chartype.c
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 11:50:22 UTC 2023
Modified Files:
src/external/gpl3/gcc: README.warnings
Log Message:
gcc/README.warnings: Nix trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 11:50:22 UTC 2023
Modified Files:
src/external/gpl3/gcc: README.warnings
Log Message:
gcc/README.warnings: Nix trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 11:53:47 UTC 2023
Modified Files:
src/usr.sbin/traceroute: Makefile
Log Message:
traceroute/Makefile: Nix trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24
Module Name:src
Committed By: riastradh
Date: Tue Aug 8 11:53:47 UTC 2023
Modified Files:
src/usr.sbin/traceroute: Makefile
Log Message:
traceroute/Makefile: Nix trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24
Module Name:src
Committed By: nat
Date: Tue Aug 8 16:32:39 UTC 2023
Modified Files:
src/sys/dev/ic: hd44780_subr.c hd44780var.h
Log Message:
Add a flag for output only devices and attachments.
It is necessary to skip the test for the device as output only attached
Module Name:src
Committed By: nat
Date: Tue Aug 8 16:32:39 UTC 2023
Modified Files:
src/sys/dev/ic: hd44780_subr.c hd44780var.h
Log Message:
Add a flag for output only devices and attachments.
It is necessary to skip the test for the device as output only attached
Module Name:src
Committed By: nat
Date: Tue Aug 8 17:31:13 UTC 2023
Modified Files:
src/sys/dev/ic: hd44780_subr.c hd44780var.h
Log Message:
Avoid adding another member to the softc and use sc_flags instead.
NFCI.
To generate a diff of this commit:
cvs rdiff -u -r1.23
Module Name:src
Committed By: nat
Date: Tue Aug 8 17:31:13 UTC 2023
Modified Files:
src/sys/dev/ic: hd44780_subr.c hd44780var.h
Log Message:
Avoid adding another member to the softc and use sc_flags instead.
NFCI.
To generate a diff of this commit:
cvs rdiff -u -r1.23
Module Name:src
Committed By: tsutsui
Date: Tue Aug 8 14:34:21 UTC 2023
Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us
Module Name:src
Committed By: tsutsui
Date: Tue Aug 8 14:34:21 UTC 2023
Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us
Module Name:src
Committed By: tsutsui
Date: Tue Aug 8 14:38:44 UTC 2023
Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us
Module Name:src
Committed By: tsutsui
Date: Tue Aug 8 14:38:44 UTC 2023
Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us
On Tue 08 Aug 2023 at 14:10:41 +0200, Joerg Sonnenberger wrote:
> On Tue, Aug 08, 2023 at 01:42:39PM +0200, Rhialto wrote:
> > On Tue 08 Aug 2023 at 09:44:41 +1000, matthew green wrote:
> > > Index: lib/libedit/chartype.c
> > > ===
>
Module Name:src
Committed By: kardel
Date: Tue Aug 8 16:10:42 UTC 2023
Modified Files:
src/sys/net/npf: npf_ruleset.c
Log Message:
The analysis documented in PR misc/56990 is correct.
Fix by not returning when encountering a ruleset rule.
The code up to now would stop
Module Name:src
Committed By: kardel
Date: Tue Aug 8 16:10:42 UTC 2023
Modified Files:
src/sys/net/npf: npf_ruleset.c
Log Message:
The analysis documented in PR misc/56990 is correct.
Fix by not returning when encountering a ruleset rule.
The code up to now would stop
Module Name:src
Committed By: nat
Date: Tue Aug 8 16:29:00 UTC 2023
Modified Files:
src/sys/dev/ic: hd44780_subr.c hd44780var.h
Log Message:
Add a detach function.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/hd44780_subr.c
cvs rdiff -u
Module Name:src
Committed By: nat
Date: Tue Aug 8 16:29:00 UTC 2023
Modified Files:
src/sys/dev/ic: hd44780_subr.c hd44780var.h
Log Message:
Add a detach function.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/hd44780_subr.c
cvs rdiff -u
60 matches
Mail list logo