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

Assorted fixes 2024/05/17 #5479

Merged
merged 4 commits into from
May 17, 2024
Merged

Conversation

solardiz
Copy link
Member

This reimplements @AlbertVeli's logical CPU count detection in configure and fixes 3 assorted bugs.

The mask is 16-bit anyway, and the previous code triggered clang UbSan:

racf_kdfaes_fmt_plug.c:372:23: runtime error: left shift of 238 by 24 places cannot be represented in type 'int'

See openwall#5476
@solardiz
Copy link
Member Author

This reimplements @AlbertVeli's logical CPU count detection in configure

Now revised after testing on a few shells (sh, ksh, zsh) on Solaris and AIX. Need to run the maybe-missing command in a subshell to be able to hide the (sub)shell's error message about it.

@solardiz solardiz merged commit 323b322 into openwall:bleeding-jumbo May 17, 2024
31 of 32 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.

1 participant