-
Notifications
You must be signed in to change notification settings - Fork 1k
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
msan: use of uninitialized value in secp256k1_scalar_mul_shift_var #1511
Comments
I guess it does not happen in valgrind, dropping |
The accessed value is created by asm in |
Huh, yeah, I'm not sure either. I never bumped into this with my testing. Will have a look and try to PR a fix. |
It took me a while to reproduce... indeed clang-15 does not complain, but clang-17 does. Seeing as it detected something that clang-15 missed, but smarter tracking could potentially understand vars set in asm, it's hard to say if newer clang is smarter or dumber here :p Either way, I agree with @real-or-random that this needs annotations. Will PR a fix. |
Closing as fixed now that #1512 is merged. |
Building master (05bfab6) in the following way (same flags as we use in our MSAN CI), results in the following failure:
Related to bitcoin/bitcoin#29742.
The text was updated successfully, but these errors were encountered: