aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits
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:57:57 +0200
commit9273b2d0e93e7355656cad3be3a1ca76489df483 (patch)
treedc3ae588c816eff36f2e33bcd4b72d0cb8df880e /sysdeps/unix/sysv/linux/bits
parentb357157361117182c7a68c90fda7ba431b64442c (diff)
downloadglibc-9273b2d0e93e7355656cad3be3a1ca76489df483.tar
glibc-9273b2d0e93e7355656cad3be3a1ca76489df483.tar.gz
glibc-9273b2d0e93e7355656cad3be3a1ca76489df483.tar.bz2
glibc-9273b2d0e93e7355656cad3be3a1ca76489df483.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> (cherry picked from commit 2b5478569e72ee4820a6e163d306690c9c0eaf5e)
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
0 files changed, 0 insertions, 0 deletions