aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/spinlock.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2022-01-23 21:15:57 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2022-01-26 22:13:20 +0000
commit5a1a07f2a0e10179d38d8112fb5568e2b510b28c (patch)
treea785475f270b3d8dace9c8b3d4db9c33a022125c /sys/compat/linuxkpi/common/include/linux/spinlock.h
parentddf312e8d7562baf031da95059c5e8857f180e05 (diff)
downloadsrc-5a1a07f2a0e10179d38d8112fb5568e2b510b28c.tar.gz
src-5a1a07f2a0e10179d38d8112fb5568e2b510b28c.zip
sh: Don't add something to a null pointer
Pointer arithmetic on a null pointer is undefined behavior. The bug can be reproduced by running bin/sh/tests/builtins/wait6.0 with UBSAN. Reported by: Mark Millard Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D34011
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/spinlock.h')
0 files changed, 0 insertions, 0 deletions