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

pthreads.h: avoid undefined behavior #967

Merged
merged 1 commit into from
Dec 14, 2023

Commits on Dec 12, 2023

  1. pthreads.h: avoid undefined behavior

    You can't pass a function pointer through a void pointer.
    So wrap the pthread callback in a struct.
    
    Fixes libressl#966
    botovq committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    0491aef View commit details
    Browse the repository at this point in the history