-
Notifications
You must be signed in to change notification settings - Fork 224
Correctly set author_key_digest and report_id fields in js_verify_snp_attestation #7004
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
Correctly set author_key_digest and report_id fields in js_verify_snp_attestation #7004
Conversation
Wonder why never caught with smth like use-after-move warning |
@maxtropets that's a good question, because as far I understand it, we enable bugprone-* checks in clang-tidy: Line 4 in 410a993
|
This is very weird, and worth a little more investigation? Possible explanations:
|
@eddyashton it doesn't seem to be option 2, a trivial move after move is definitely noisily caught:
|
Well duh, it's option 1: https://github.com/microsoft/CCF/blob/main/CMakeLists.txt#L426 (#6905, #6907) |
Fields were incorrectly set due to a presumed copy-paste mistake.