summaryrefslogtreecommitdiff
path: root/etc/etc.landisk/sysctl.conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-11-05 21:59:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-11-05 21:59:14 +0000
commitfc3f216f35058a68bee51fbaa32b206e6fa8ea59 (patch)
tree3dd0cb7686b79a02d45b9ba140c1ece95f1f6d09 /etc/etc.landisk/sysctl.conf
parentd9e6a45e4bc4ede960a3502e52eb4d455930b446 (diff)
Cast Td4[] values (which are uint8_t) to uint32_t before shifting them left by
24 bits; if we don't, Td4[] gets cast to signed int, and according to C>=99 6.5.7, signed int shifted by enough bits to cause a the sign bit to be set is an UB. Reported by Pascal Cuoq on behalf of the trust-in-soft.com mafia I am {partial,slightly related} to.
Diffstat (limited to 'etc/etc.landisk/sysctl.conf')
0 files changed, 0 insertions, 0 deletions