diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-05-16 23:26:40 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-05-17 08:23:59 +0200 |
commit | 10a81dd4cf89276f7b1208ed044b93ae846800ce (patch) | |
tree | 1acf0f6bce2f22ed86780e8df844aa6f80d37592 /bits/fp-logb.h | |
parent | 8812b9900e5fba3b696f1b34bd6014211327190f (diff) | |
download | glibc-10a81dd4cf89276f7b1208ed044b93ae846800ce.tar.gz glibc-10a81dd4cf89276f7b1208ed044b93ae846800ce.tar.xz glibc-10a81dd4cf89276f7b1208ed044b93ae846800ce.zip |
stdlib: Avoid undefined behavior in stdlib/tst-labs
The last loop could attempt to overflow beyond INT_MAX on 32-bit architectures. Also switch to GNU style. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'bits/fp-logb.h')
0 files changed, 0 insertions, 0 deletions