Shifting signed integers left by 31 is undefined behavior in C.
authorbluhm <bluhm@openbsd.org>
Thu, 20 Jan 2022 11:06:57 +0000 (11:06 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 20 Jan 2022 11:06:57 +0000 (11:06 +0000)
commit41d7544ad5db9629c47e9f43babdf911f5e7fc95
tree5b147d9e8cef4bd37ae8bf79955a19e3c4f5690f
parent14f01ee73a576509e4364dd0b3939c6be188a81e
Shifting signed integers left by 31 is undefined behavior in C.
found by kubsan; joint work with tobhe@; OK miod@
sys/arch/amd64/amd64/identcpu.c
sys/kern/kern_descrip.c
sys/kern/kern_sched.c
sys/kern/subr_pool.c
sys/net/rtsock.c
sys/netinet/in_pcb.h
sys/netinet/ip_esp.c