Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5c846c99d1332f366820911b12c069b26a1745a1
https://github.com/WebKit/WebKit/commit/5c846c99d1332f366820911b12c069b26a1745a1
Author: Chris Dumez <[email protected]>
Date: 2024-11-13 (Wed, 13 Nov 2024)
Changed paths:
M Source/WTF/wtf/persistence/PersistentCoders.cpp
M Source/WTF/wtf/persistence/PersistentDecoder.cpp
M Source/WTF/wtf/persistence/PersistentDecoder.h
M Source/WTF/wtf/persistence/PersistentEncoder.cpp
M Source/WTF/wtf/persistence/PersistentEncoder.h
M Source/WTF/wtf/text/cf/AtomStringImplCF.cpp
M Source/WTF/wtf/text/cf/StringImplCF.cpp
M Source/WTF/wtf/text/cocoa/ContextualizedNSString.mm
M Source/WebCore/platform/WebCorePersistentCoders.cpp
Log Message:
-----------
Decrease use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WTF/
https://bugs.webkit.org/show_bug.cgi?id=283035
Reviewed by Darin Adler.
* Source/WTF/wtf/persistence/PersistentCoders.cpp:
* Source/WTF/wtf/persistence/PersistentDecoder.cpp:
(WTF::Persistence::Decoder::bufferPointerForDirectRead):
(WTF::Persistence::Decoder::decodeFixedLengthData):
(WTF::Persistence::Decoder::decodeNumber):
* Source/WTF/wtf/persistence/PersistentDecoder.h:
* Source/WTF/wtf/persistence/PersistentEncoder.cpp:
(WTF::Persistence::Encoder::grow):
(WTF::Persistence::Encoder::updateChecksumForData):
(WTF::Persistence::Encoder::encodeFixedLengthData):
(WTF::Persistence::Encoder::encodeNumber):
(WTF::Persistence::Encoder::encodeChecksum):
* Source/WTF/wtf/persistence/PersistentEncoder.h:
(WTF::Persistence::Encoder::updateChecksumForNumber):
* Source/WTF/wtf/text/cf/AtomStringImplCF.cpp:
(WTF::AtomStringImpl::add):
* Source/WTF/wtf/text/cf/StringImplCF.cpp:
* Source/WTF/wtf/text/cocoa/ContextualizedNSString.mm:
(-[WTFContextualizedNSString getCharacters:range:]):
* Source/WebCore/platform/WebCorePersistentCoders.cpp:
(WTF::Persistence::decodeCFData):
Canonical link: https://commits.webkit.org/286554@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