fido/win: fix a crash when exclude_list is set in MakeCredential requests
When initializing pExcludeCredentialList parameter of a WEBAUTHN_MAKE_CREDENTIAL_OPTIONS struct, the code calls std::transform with a wrong value for the output iterator argument. As a result, the code crashes if an exclude_list was set in the request. This fixes the issue by passing the correct output iterator. (The initialization of the equivalent pAllowCredentialList parameter during GetAssertion was already correct.) Bug: 898718 Change-Id: Id0611348f6b4e208d9176d714b10da95b474bd2e Reviewed-on: https://chromium-review.googlesource.com/c/1374401Reviewed-by:Adam Langley <agl@chromium.org> Commit-Queue: Martin Kreichgauer <martinkr@chromium.org> Cr-Commit-Position: refs/heads/master@{#616035}
Showing
Please register or sign in to comment