summaryrefslogtreecommitdiff
path: root/include/tar.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-10-04 03:58:56 +0200
committerRich Felker <dalias@aerifal.cx>2016-10-20 01:32:27 -0400
commit688d3da0f1730daddbc954bbc2d27cc96ceee04c (patch)
tree3f769f22d7cb42a40eb618535bc31ae3c0fd5d90 /include/tar.h
parent87643335ac699b14527bbf807956cf8911b86bfa (diff)
downloadmusl-688d3da0f1730daddbc954bbc2d27cc96ceee04c.tar.gz
musl-688d3da0f1730daddbc954bbc2d27cc96ceee04c.tar.bz2
musl-688d3da0f1730daddbc954bbc2d27cc96ceee04c.tar.xz
musl-688d3da0f1730daddbc954bbc2d27cc96ceee04c.zip
math: fix pow signed shift ub
j is int32_t and thus j<<31 is undefined if j==1, so j is changed to uint32_t locally as a quick fix, the generated code is not affected. (this is a strict conformance fix, future c standard may allow 1<<31, see DR 463. the bug was inherited from freebsd fdlibm, the proper fix is to use uint32_t for all bit hacks, but that requires more intrusive changes.) reported by Daniel Sabogal
Diffstat (limited to 'include/tar.h')
0 files changed, 0 insertions, 0 deletions