Changeset 251089 in webkit
- Timestamp:
- Oct 14, 2019, 1:25:40 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r251087 r251089 1 2019-10-14 Alex Christensen <achristensen@webkit.org> 2 3 REGRESSION: [iOS 13?] TestWebKitAPI.SharedBufferTest.tryCreateArrayBufferLargeSegments is failing 4 https://bugs.webkit.org/show_bug.cgi?id=201902 5 6 Reviewed by Ryosuke Niwa. 7 8 * wtf/Vector.h: 9 The code introduced in r108153 to workaround a warning when building Chrome was causing us to use uninitialized memory 10 when we create a Vector with the size_t/{signed,unsigned}char constructor with a constexpr size_t. 11 This was the cause of bug 201902 and bug 201620 which only manifested themselves in release builds with some compilers. 12 1 13 2019-10-14 Per Arne Vollan <pvollan@apple.com> 2 14 -
trunk/Source/WTF/wtf/Vector.h
r250005 r251089 205 205 { 206 206 static_assert(sizeof(T) == 1, "Size of type T should be equal to one!"); 207 #if COMPILER(GCC_COMPATIBLE) && defined(_FORTIFY_SOURCE) 208 if (!__builtin_constant_p(dstEnd - dst) || (!(dstEnd - dst))) 209 #endif 210 memset(dst, val, dstEnd - dst); 207 memset(dst, val, dstEnd - dst); 211 208 } 212 209 }; -
trunk/Source/WebCore/ChangeLog
r251084 r251089 1 2019-10-14 Alex Christensen <achristensen@webkit.org> 2 3 REGRESSION: [iOS 13?] TestWebKitAPI.SharedBufferTest.tryCreateArrayBufferLargeSegments is failing 4 https://bugs.webkit.org/show_bug.cgi?id=201902 5 6 Reviewed by Ryosuke Niwa. 7 8 * Modules/webauthn/fido/U2fResponseConverter.cpp: 9 (fido::WebCore::createAttestedCredentialDataFromU2fRegisterResponse): 10 1 11 2019-10-14 Russell Epstein <russell_e@apple.com> 2 12 -
trunk/Source/WebCore/Modules/webauthn/fido/U2fResponseConverter.cpp
r250455 r251089 99 99 return { }; 100 100 101 Vector<uint8_t> aaguid(aaguidLength); 102 memset(aaguid.data(), 0, aaguidLength); 103 return buildAttestedCredentialData(aaguid, credentialId, publicKey); 101 return buildAttestedCredentialData(Vector<uint8_t>(aaguidLength, 0), credentialId, publicKey); 104 102 } 105 103 -
trunk/Tools/ChangeLog
r251085 r251089 1 2019-10-14 Alex Christensen <achristensen@webkit.org> 2 3 REGRESSION: [iOS 13?] TestWebKitAPI.SharedBufferTest.tryCreateArrayBufferLargeSegments is failing 4 https://bugs.webkit.org/show_bug.cgi?id=201902 5 6 Reviewed by Ryosuke Niwa. 7 8 * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp: 9 (TestWebKitAPI::TEST_F): 10 1 11 2019-10-14 Saam Barati <sbarati@apple.com> 2 12 -
trunk/Tools/TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp
r250105 r251089 102 102 } 103 103 104 #if !PLATFORM(IOS) // FIXME: webkit.org/b/201902 REGRESSION: [iOS 13?] TestWebKitAPI.SharedBufferTest.tryCreateArrayBufferLargeSegments is failing105 104 TEST_F(SharedBufferTest, tryCreateArrayBufferLargeSegments) 106 105 { … … 128 127 } 129 128 } 130 #endif // !PLATFORM(IOS)131 129 132 130 TEST_F(SharedBufferTest, copy)
Note:
See TracChangeset
for help on using the changeset viewer.