diff options
author | miod <> | 2015-11-05 21:59:13 +0000 |
---|---|---|
committer | miod <> | 2015-11-05 21:59:13 +0000 |
commit | 5eaa2df7b39b83f1cc8f8b6fd00bbec5c469c3fd (patch) | |
tree | 1d90ae7090270b523f420eab6af6609f7e4cc1ee /src/lib/libtls/tls_init.3 | |
parent | 529158aade71dea466403c41c9d21b066917b124 (diff) | |
download | openbsd-5eaa2df7b39b83f1cc8f8b6fd00bbec5c469c3fd.tar.gz openbsd-5eaa2df7b39b83f1cc8f8b6fd00bbec5c469c3fd.tar.bz2 openbsd-5eaa2df7b39b83f1cc8f8b6fd00bbec5c469c3fd.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 'src/lib/libtls/tls_init.3')
0 files changed, 0 insertions, 0 deletions