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 casts to type conversion to fix long dbl bug #3038

Merged
merged 1 commit into from
Jun 3, 2023

Commits on Jun 3, 2023

  1. Add casts to type conversion to fix long dbl bug

    If a user buffer is misaligned in the type conversion code, memcpy
    could fail if the call is SSE-optimized by the compiler. This change
    adds uint8_t * casts so the compiler won't make optimistic assumptions
    about buffer alignment.
    derobins committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    8fbb47e View commit details
    Browse the repository at this point in the history