aboutsummaryrefslogtreecommitdiff
path: root/wctype/wctype.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2022-10-10 00:39:33 +0200
committerAurelien Jarno <aurelien@aurel32.net>2022-10-24 20:48:02 +0200
commit2b5478569e72ee4820a6e163d306690c9c0eaf5e (patch)
tree0459a7d695437015b85ab2a3f8bcce24eab1d39f /wctype/wctype.c
parentbe930668eccf842d5a1a068a3e01b660d5bcb813 (diff)
downloadglibc-2b5478569e72ee4820a6e163d306690c9c0eaf5e.tar
glibc-2b5478569e72ee4820a6e163d306690c9c0eaf5e.tar.gz
glibc-2b5478569e72ee4820a6e163d306690c9c0eaf5e.tar.bz2
glibc-2b5478569e72ee4820a6e163d306690c9c0eaf5e.zip
Avoid undefined behaviour in ibm128 implementation of llroundl (BZ #29488)
Detecting an overflow edge case depended on signed overflow of a long long. Replace the additions and the overflow checks by __builtin_add_overflow(). Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'wctype/wctype.c')
0 files changed, 0 insertions, 0 deletions