about summary refs log tree commit diff
path: root/bits/signum-generic.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-05-16 23:26:40 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-05-17 08:23:59 +0200
commit10a81dd4cf89276f7b1208ed044b93ae846800ce (patch)
tree1acf0f6bce2f22ed86780e8df844aa6f80d37592 /bits/signum-generic.h
parent8812b9900e5fba3b696f1b34bd6014211327190f (diff)
downloadglibc-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/signum-generic.h')
0 files changed, 0 insertions, 0 deletions