Module Name:src
Committed By: kamil
Date: Thu Jul 26 01:25:23 UTC 2018
Modified Files:
src/lib/csu: Makefile
Log Message:
Specify NOLIBCSANITIZER in lib/csu
The low-level libraries in csu are used in non-sanitized code.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: kamil
Date: Thu Jul 26 00:33:26 UTC 2018
Modified Files:
src/common/lib/libutil: snprintb.c
Log Message:
Avoid undefined behavior in snprintb.c
Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to preven
Module Name:src
Committed By: kamil
Date: Thu Jul 26 00:31:13 UTC 2018
Modified Files:
src/crypto/external/bsd/netpgp/dist/src/netpgpverify: sha2.c
Log Message:
Avoid undefined behavior in netpgpverify/sha2.c
Do not change the signedness bit with a left shift operation.
C
Module Name:src
Committed By: kamil
Date: Thu Jul 26 00:26:45 UTC 2018
Modified Files:
src/crypto/external/bsd/netpgp/dist/src/netpgpverify: pgpsum.c
Log Message:
Avoid undefined behavior in netpgpverify
Do not change the signedness bit with a left shift operation.
Cast t
Module Name:src
Committed By: kamil
Date: Thu Jul 26 00:20:41 UTC 2018
Modified Files:
src/common/lib/libc/inet: inet_addr.c
Log Message:
Avoid undefined behavior in an inet_addr.c
Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to p
Module Name:src
Committed By: kamil
Date: Thu Jul 26 00:13:19 UTC 2018
Modified Files:
src/common/lib/libc/sys: cpuset.c
Log Message:
Avoid undefined behavior in an cpuset.c
Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to preven
Module Name:src
Committed By: kamil
Date: Thu Jul 26 00:05:28 UTC 2018
Modified Files:
src/lib/libc/gen: ftok.c
Log Message:
Avoid undefined behavior in ftok(3)
Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.
ftok.c
Module Name:src
Committed By: kamil
Date: Wed Jul 25 23:59:08 UTC 2018
Modified Files:
src/lib/libc/rpc: xdr_rec.c
Log Message:
Avoid undefined behavior in the definition of LAST_FRAG in xdr_rec.c
Do not change the signedness bit with a left shift operation.
Switch to uns
Module Name:src
Committed By: kamil
Date: Wed Jul 25 23:52:38 UTC 2018
Modified Files:
src/rescue: Makefile
Log Message:
Specify NOLIBCSANITIZER for rescue
The rescue image could be sanitized with a sanitizer in libc, but it's left
for future as a possible research.
To
Module Name:src
Committed By: kamil
Date: Wed Jul 25 23:45:32 UTC 2018
Modified Files:
src/sys/arch/amd64/stand/prekern: Makefile
src/sys/arch/i386/stand: Makefile.booters Makefile.inc
src/sys/arch/i386/stand/boot: Makefile.boot
src/sys/arch/i386/sta
Module Name:src
Committed By: kamil
Date: Wed Jul 25 23:41:28 UTC 2018
Modified Files:
src/usr.bin/crunch/crunchgen: crunchgen.1 crunchgen.c
Log Message:
Introduce a new option -S in crunchgen(1)
The -S argument enables sanitization with a sanitizer in libc.
To generate
Module Name:src
Committed By: kamil
Date: Wed Jul 25 23:34:25 UTC 2018
Modified Files:
src/share/mk: bsd.lib.mk bsd.own.mk bsd.prog.mk bsd.sys.mk
Log Message:
Introduce MKLIBCSANITIZER in the share/mk rules
Add flags that are required to build a program and a dynamically
Module Name:src
Committed By: kamil
Date: Wed Jul 25 23:30:22 UTC 2018
Modified Files:
src/share/mk: bsd.README
Log Message:
Document MKLIBCSANITIZER in bsd.README
It's a special kind of a sanitizer inside libc.
To generate a diff of this commit:
cvs rdiff -u -r1.380 -r
Module Name:src
Committed By: kamil
Date: Wed Jul 25 22:07:59 UTC 2018
Modified Files:
src/sys/fs/msdosfs: msdosfs_fat.c
Log Message:
Avoid undefined behavior semantics in msdosfs_fat.c
Do not change signedness bit with left shift.
While there avoid signed integer overflo
Module Name:src
Committed By: kamil
Date: Wed Jul 25 22:00:32 UTC 2018
Modified Files:
src/tests/include/sys: t_bitops.c
Log Message:
Avoid undefined behavior in an ATF test: t_bitops
Do not change the signedness bit with a left shift operation.
Switch to unsigned integer
Module Name:src
Committed By: kamil
Date: Wed Jul 25 21:51:32 UTC 2018
Modified Files:
src/tests/include/sys: t_types.c
Log Message:
Avoid undefined behavior in an ATF test: t_types
Replace UB with implementation defined logic to check whether ssize_t can
wrap to a negati
Module Name:src
Committed By: kamil
Date: Wed Jul 25 20:05:35 UTC 2018
Modified Files:
src/lib/libc/stdlib: jemalloc.c
Log Message:
Avoid undefined behavior in left bit shift in jemalloc(3)
Change the type of shifted value to unsigned to prevent altering the
signedness bi
Module Name:src
Committed By: kamil
Date: Wed Jul 25 19:56:56 UTC 2018
Modified Files:
src/sys/fs/udf: ecma167-udf.h
Log Message:
Avoid undefined behavior in ecma167-udf.h
Define the UDF_EXT_* symbols as unsigned values.
This prevents undefined behavior of altering the si
Module Name:src
Committed By: kamil
Date: Wed Jul 25 19:15:19 UTC 2018
Modified Files:
src/share/mk: bsd.README
Log Message:
Document the default value of MKSANITIZER in bsd.README
This value is set to "no".
To generate a diff of this commit:
cvs rdiff -u -r1.379 -r1.38
Module Name:src
Committed By: para
Date: Wed Jul 25 19:10:41 UTC 2018
Modified Files:
src/sys/arch/x86/pci: amdzentemp.c
Log Message:
adjust for possible 49K offset
presence of this offset is indicated by a set 19th bit which is shifted away
this brings the temperature to
Module Name:src
Committed By: kamil
Date: Wed Jul 25 19:09:38 UTC 2018
Modified Files:
src/sys/netbt: hci.h
Log Message:
Appease GCC in hci_filter_test()
Cast the returned value from hci_filter_test explicitly to int, as
requested by GCC when building with Undefined Behav
Module Name:src
Committed By: kamil
Date: Wed Jul 25 19:03:50 UTC 2018
Modified Files:
src/usr.sbin/bta2dpd/bta2dpd: avdtp.c
Log Message:
Avoid potential undefined behavior in bta2dpd(8)
The operator >> causes implicit promotion to int.
There is need to cast the result b
Module Name:xsrc
Committed By: kamil
Date: Wed Jul 25 18:54:43 UTC 2018
Modified Files:
xsrc/external/mit/xf86-video-r128/dist/src: r128_reg.h
Log Message:
Avoid Undefined Behavior in r128_reg.h
Specify symbols without altering signed bit.
Requested by GCC when building
Module Name:xsrc
Committed By: kamil
Date: Wed Jul 25 18:52:53 UTC 2018
Modified Files:
xsrc/external/mit/MesaLib7/dist/src/mesa/drivers/dri/r300:
r300_render.h
Log Message:
Avoid Undefined Behavior in r300_render.h
Specify R300_FALLBACK_INVALID_BUFFERS withou
Module Name:src
Committed By: kre
Date: Wed Jul 25 15:35:27 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
NFC: More KNF (remove () around returned constants).
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/printf/printf.c
Module Name:src
Committed By: kre
Date: Wed Jul 25 14:42:50 UTC 2018
Modified Files:
src/bin/sh: eval.c eval.h exec.c
Log Message:
Fix several bugs in the command / type builtin ( including PR bin/48499 )
1. Make command -pv (and -pV) work (which is not as easy as the PR
Module Name:src
Committed By: kre
Date: Wed Jul 25 14:41:52 UTC 2018
Modified Files:
src/usr.bin/printf: printf.c
Log Message:
NFC: whitespace & KNF.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/printf/printf.c
Please note that diffs are not
Module Name:src
Committed By: maxv
Date: Wed Jul 25 11:47:07 UTC 2018
Modified Files:
src/sys/arch/amd64/include: pmap.h
src/sys/arch/i386/include: pmap.h
Log Message:
Remove NPTECL, unused.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/ar
Module Name:src
Committed By: reinoud
Date: Wed Jul 25 11:09:22 UTC 2018
Modified Files:
src/sys/fs/udf: udf_subr.c
Log Message:
Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.
To generate a diff of this co
Module Name:src
Committed By: msaitoh
Date: Wed Jul 25 07:55:45 UTC 2018
Modified Files:
src/sys/dev/ic: bwi.c
src/sys/dev/pci: if_txp.c
src/sys/dev/ppbus: if_plip.c
src/sys/net: bpf.c
src/sys/netisdn: i4b_ipr.c
Log Message:
Initialize some
30 matches
Mail list logo