Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7a6f5e3b706a471ce7a4c9e85bc27973886178dc
https://github.com/WebKit/WebKit/commit/7a6f5e3b706a471ce7a4c9e85bc27973886178dc
Author: Charlie Wolfe <[email protected]>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M Source/WebCore/Modules/webauthn/fido/AuthenticatorGetInfoResponse.cpp
Log Message:
-----------
encodeAsCBOR() emplaces the versions array twice and reads it after move
https://bugs.webkit.org/show_bug.cgi?id=316974
rdar://179451130
Reviewed by Pascoe.
The versions array was inserted under CBORValue(1) and then again under
kCtapAuthenticatorGetInfoVersionsKey (which is also 1). Since it's the same key
it is a no-op
insert. Keep the single emplace using the named constant.
* Source/WebCore/Modules/webauthn/fido/AuthenticatorGetInfoResponse.cpp:
(fido::encodeAsCBOR):
Canonical link: https://commits.webkit.org/315123@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications