Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 96bc2b2c88fb76ba542a6ca963d1c584f2101241
https://github.com/WebKit/WebKit/commit/96bc2b2c88fb76ba542a6ca963d1c584f2101241
Author: Chris Dumez <[email protected]>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M Source/WebCore/Modules/webaudio/WaveShaperDSPKernel.cpp
M Source/WebCore/Modules/webauthn/AuthenticatorAttestationResponse.cpp
M Source/WebCore/Modules/webauthn/WebAuthenticationUtils.cpp
M Source/WebCore/Modules/webauthn/WebAuthenticationUtils.h
M Source/WebCore/Modules/webauthn/apdu/ApduCommand.cpp
M Source/WebCore/Modules/webauthn/apdu/ApduCommand.h
M Source/WebCore/Modules/webauthn/apdu/ApduResponse.cpp
M Source/WebCore/Modules/webauthn/apdu/ApduResponse.h
M Source/WebCore/Modules/webauthn/fido/DeviceResponseConverter.cpp
M Source/WebCore/Modules/webauthn/fido/FidoHidPacket.cpp
M Source/WebKit/UIProcess/WebAuthentication/fido/CtapCcidDriver.cpp
M Source/WebKit/UIProcess/WebAuthentication/fido/U2fAuthenticator.cpp
M Tools/TestWebKitAPI/Tests/WebCore/ApduTest.cpp
M Tools/TestWebKitAPI/Tests/WebCore/CtapPinTest.cpp
M Tools/TestWebKitAPI/Tests/WebCore/CtapRequestTest.cpp
M Tools/TestWebKitAPI/Tests/WebCore/CtapResponseTest.cpp
M Tools/TestWebKitAPI/Tests/WebCore/FidoTestData.h
M Tools/TestWebKitAPI/Tests/WebCore/U2fCommandConstructorTest.cpp
Log Message:
-----------
Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/Modules
https://bugs.webkit.org/show_bug.cgi?id=285126
Reviewed by Geoffrey Garen and Darin Adler.
* Source/WebCore/Modules/webaudio/WaveShaperDSPKernel.cpp:
(WebCore::WaveShaperDSPKernel::processCurve):
* Source/WebCore/Modules/webauthn/AuthenticatorAttestationResponse.cpp:
(WebCore::coseKeyForAttestationObject):
* Source/WebCore/Modules/webauthn/WebAuthenticationUtils.cpp:
(WebCore::convertBytesToVector): Deleted.
* Source/WebCore/Modules/webauthn/WebAuthenticationUtils.h:
* Source/WebCore/Modules/webauthn/apdu/ApduCommand.cpp:
(apdu::ApduCommand::createFromMessage):
(apdu::ApduCommand::getEncodedCommand const):
* Source/WebCore/Modules/webauthn/apdu/ApduCommand.h:
* Source/WebCore/Modules/webauthn/apdu/ApduResponse.cpp:
(apdu::ApduResponse::createFromMessage):
* Source/WebCore/Modules/webauthn/apdu/ApduResponse.h:
* Source/WebCore/Modules/webauthn/fido/DeviceResponseConverter.cpp:
(fido::getCredentialId):
* Source/WebCore/Modules/webauthn/fido/FidoHidPacket.cpp:
* Source/WebKit/UIProcess/WebAuthentication/fido/CtapCcidDriver.cpp:
(WebKit::CtapCcidDriver::transact):
* Source/WebKit/UIProcess/WebAuthentication/fido/U2fAuthenticator.cpp:
(WebKit::U2fAuthenticator::responseReceived):
* Tools/TestWebKitAPI/Tests/WebCore/ApduTest.cpp:
(TestWebKitAPI::TEST(ApduTest, TestDeserializeResponse)):
* Tools/TestWebKitAPI/Tests/WebCore/CtapPinTest.cpp:
(TestWebKitAPI::TEST(CtapPinTest, TestSetPinRequest)):
(TestWebKitAPI::TEST(CtapPinTest, TestRetriesRequest)):
(TestWebKitAPI::TEST(CtapPinTest, TestRetriesResponse)):
(TestWebKitAPI::TEST(CtapPinTest, TestKeyAgreementRequest)):
(TestWebKitAPI::TEST(CtapPinTest, TestKeyAgreementResponse)):
(TestWebKitAPI::TEST(CtapPinTest, TestTokenRequest)):
(TestWebKitAPI::TEST(CtapPinTest, TestTokenResponse)):
(TestWebKitAPI::TEST(CtapPinTest, TestPinAuth)):
* Tools/TestWebKitAPI/Tests/WebCore/CtapRequestTest.cpp:
(TestWebKitAPI::TEST(CTAPRequestTest, TestConstructMakeCredentialRequestParam)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestParamNoUVNoRK)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestParamUVRequiredButNotSupported)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestParamWithPin)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestRKPreferred)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestRKPreferredNotSupported)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestRKDiscouraged)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestWithLargeBlob)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructMakeCredentialRequestWithUnsupportedLargeBlob)):
(TestWebKitAPI::TEST(CTAPRequestTest, TestConstructGetAssertionRequest)):
(TestWebKitAPI::TEST(CTAPRequestTest, TestConstructGetAssertionRequestNoUV)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructGetAssertionRequestUVRequiredButNotSupported)):
(TestWebKitAPI::TEST(CTAPRequestTest, TestConstructGetAssertionRequestWithPin)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructCtapAuthenticatorRequestParam)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructGetAssertionRequestLargeBlobRead)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructGetAssertionRequestUnsupportedLargeBlobRead)):
(TestWebKitAPI::TEST(CTAPRequestTest,
TestConstructGetAssertionRequestLargeBlobWrite)):
* Tools/TestWebKitAPI/Tests/WebCore/CtapResponseTest.cpp:
(TestWebKitAPI::std::to_array<uint8_t>):
(TestWebKitAPI::getTestAttestedCredentialDataBytes):
(TestWebKitAPI::getTestAuthenticatorDataBytes):
(TestWebKitAPI::getTestAttestationObjectBytes):
(TestWebKitAPI::getTestSignResponse):
(TestWebKitAPI::getTestCorruptedSignResponse):
(TestWebKitAPI::getTestU2fRegisterResponse):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadMakeCredentialResponse)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadGetAssertionResponse1)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadGetAssertionResponse2)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadGetAssertionResponse3)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestParseRegisterResponseData)):
(TestWebKitAPI::TEST(CTAPResponseTest,
TestParseIncorrectRegisterResponseData1)):
(TestWebKitAPI::TEST(CTAPResponseTest,
TestParseIncorrectRegisterResponseData5)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestParseSignResponseData)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadGetInfoResponse)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadGetInfoResponse2)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestReadGetInfoResponseDeviceYubikey5c)):
(TestWebKitAPI::TEST(CTAPResponseTest,
TestReadGetInfoResponseWithIncorrectFormat)):
(TestWebKitAPI::TEST(CTAPResponseTest, TestSerializeGetInfoResponse)):
* Tools/TestWebKitAPI/Tests/WebCore/FidoTestData.h:
(TestWebKitAPI::TestData::std::to_array<uint8_t>):
* Tools/TestWebKitAPI/Tests/WebCore/U2fCommandConstructorTest.cpp:
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestConvertCtapMakeCredentialToU2fRegister)):
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestConvertCtapMakeCredentialToU2fCheckOnlySign)):
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestConvertCtapMakeCredentialToU2fCheckOnlySignWithInvalidCredentialType)):
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestConvertCtapGetAssertionToU2fSignRequest)):
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestConvertCtapGetAssertionWithAppIDToU2fSignRequest)):
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestCreateSignWithIncorrectKeyHandle)):
(TestWebKitAPI::TEST(U2fCommandConstructorTest,
TestConstructBogusU2fRegistrationCommand)):
Canonical link: https://commits.webkit.org/288282@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes