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

fill_aligned_z: fix uninitialized atomic_int64_t #4279

Merged
merged 1 commit into from
May 27, 2024

Commits on May 24, 2024

  1. fill_aligned_z: fix uninitialized atomic_int64_t

    The behavior of atomic_int64_t's default constructor will leave it to an
    uninitialized state (accessing it will be undefined behavior).
    
    Use 0 to explicitly initialize it because it will be soon compared and
    exchanged.
    
    Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
    Icenowy committed May 24, 2024
    Configuration menu
    Copy the full SHA
    a82fa3e View commit details
    Browse the repository at this point in the history