summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/lsystem.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-11-05 21:59:13 +0000
committermiod <miod@openbsd.org>2015-11-05 21:59:13 +0000
commit282842ed6373bbccd1eab438e5c1d3782843e264 (patch)
tree095fcaddb05a4ea0b55b739fe0632138d3f14845 /usr.bin/less/lsystem.c
parentWhitespace, reduce diff to ping. (diff)
downloadwireguard-openbsd-282842ed6373bbccd1eab438e5c1d3782843e264.tar.xz
wireguard-openbsd-282842ed6373bbccd1eab438e5c1d3782843e264.zip
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 'usr.bin/less/lsystem.c')
0 files changed, 0 insertions, 0 deletions