Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add row to rempitab table for infinity/nan edge cases #528

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

joanaxcruz
Copy link
Contributor

Previously, when fetching elements from Sleef_rempitabsp or Sleef_rempitabdp for infinity/nan inputs, we would hit outside the table. This would trigger a global buffer overflow error when running any of the trig functions with an address sanitizer.
Fixes issue #464, on multiple arch. Furthermore tester3advsimd and tester3advsimdnofma start passing when library is build with ASAN enabled.

Previously, when fetching elements from Sleef_rempitabsp
or Sleef_rempitabdp for infinity/nan inputs, we would
hit outside the table. This would trigger a global buffer
overflow error when running any of the trig functions with
an address sanitizer.
Fixes issue shibatch#464, on multiple arch. Furthermore tester3advsimd and
tester3advsimdnofma start passing when library is build with
ASAN enabled.
@blapie blapie merged commit 9ccdcff into shibatch:master Mar 12, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ASAN: global-buffer-overflow in functions Sleef_sinf4_u10, Sleef_cosf4_u10, Sleef_tanf4_u10 on s390x
2 participants