Uh oh!
There was an error while loading. Please reload this page.
Fix Windows 8 detection. - #58736
Conversation
Windows 8's actual version is 6.2, not 8. The test would succeed only on Windows 10+.
teo-tsirpanis
commented
Sep 6, 2021
I also noticed in the same file some spans being pinned without |
KalleOlaviNiemitalo
commented
Sep 7, 2021
Is there a policy that requires |
teo-tsirpanis
commented
Sep 7, 2021
@KalleOlaviNiemitalo I have seen it being used almost always when pinning spans within the BCL. |
KalleOlaviNiemitalo
commented
Sep 7, 2021
stephentoub
commented
Sep 7, 2021
There's no policy one way or the other. Pinning with: fixed (byte*ptr=&MemoryMarshal.GetReference(span))is ever so slightly more efficient than with: fixed (byte*ptr=span)as the latter ends up using |
vcsjones
left a comment
There was a problem hiding this comment.
This looks good to me. Thanks for the fix.
vcsjones
commented
Sep 7, 2021
How feasible would it be to get this in 6.0, @stephentoub / @dotnet/area-system-security? The impact on this is basically Windows 8.0 will use a much slower Windows 7 API for the PBKDF2 one-shot. |
Uh oh!
There was an error while loading. Please reload this page.
jeffhandley
commented
Sep 7, 2021
While this doesn't directly align with any of our RC2 bar criteria, I support presenting it to tactics. After it's merged into RC2, let's backport it to |
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
GrabYourPitchforks
commented
Sep 8, 2021
I also support bringing this to tactics. Low-risk, good test coverage, etc. |
jeffhandley
commented
Sep 8, 2021
/backport to release/6.0 |
Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1214551203 |
jeffhandley
commented
Sep 8, 2021
Thanks for finding and fixing this, @teo-tsirpanis! |
Windows 8's actual version is 6.2, not 8. The test would succeed only on Windows 10+.