summaryrefslogtreecommitdiff
path: root/src/misc/getentropy.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2023-01-20 11:37:39 +0100
committerRich Felker <dalias@aerifal.cx>2023-02-12 17:46:50 -0500
commit35fdfe62a4ff471074ca53b7626ec80e83d244bd (patch)
tree3afc106241abc363b5a239a1c0a58ae82a02950e /src/misc/getentropy.c
parent7e13e5ae69a243b90b90d2f4b79b2a150f806335 (diff)
downloadmusl-35fdfe62a4ff471074ca53b7626ec80e83d244bd.tar.gz
musl-35fdfe62a4ff471074ca53b7626ec80e83d244bd.tar.bz2
musl-35fdfe62a4ff471074ca53b7626ec80e83d244bd.tar.xz
musl-35fdfe62a4ff471074ca53b7626ec80e83d244bd.zip
math: fix undefined shift in logf
A signed int shift overflowed when computing a constant mask, use hex literal instead. This is unlikely to cause actual issues unless the code was compiled with ubsan or similar instrumentation specifically to catch this. The stripped libc.so is unchanged on x86_64. Reported by q66 on irc.
Diffstat (limited to 'src/misc/getentropy.c')
0 files changed, 0 insertions, 0 deletions