[webkit-changes] [WebKit/WebKit] b7d42a: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in XML...
Chris Dumez
noreply at github.com
Mon Feb 3 18:38:56 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b7d42aeed7400e85496099a387067a0f9c5717c1
https://github.com/WebKit/WebKit/commit/b7d42aeed7400e85496099a387067a0f9c5717c1
Author: Chris Dumez <cdumez at apple.com>
Date: 2025-02-03 (Mon, 03 Feb 2025)
Changed paths:
M Source/WebCore/xml/parser/XMLDocumentParser.h
M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
Log Message:
-----------
Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in XMLDocumentParserLibxml2.cpp
https://bugs.webkit.org/show_bug.cgi?id=286901
Reviewed by Ryosuke Niwa.
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::xmlMallocHelper):
(WebCore::XMLMalloc::malloc):
(WebCore::XMLMalloc::free):
(WebCore::unsafeSpanIncludingNullTerminator):
(WebCore::PendingCallbacks::appendStartElementNSCallback):
(WebCore::PendingCallbacks::appendCharactersCallback):
(WebCore::PendingCallbacks::appendCDATABlockCallback):
(WebCore::PendingCallbacks::PendingStartElementNSCallback::~PendingStartElementNSCallback):
(WebCore::toString):
(WebCore::toAtomString):
(WebCore::handleNamespaceAttributes):
(WebCore::handleElementAttributes):
(WebCore::XMLDocumentParser::cdataBlock):
(WebCore::charactersHandler):
(WebCore::cdataBlockHandler):
(WebCore::XMLDocumentParser::appendFragmentSource):
(WebCore::attributesStartElementNsHandler):
(WebCore::PendingCallbacks::PendingCharactersCallback::~PendingCharactersCallback): Deleted.
(WebCore::PendingCallbacks::PendingCDATABlockCallback::~PendingCDATABlockCallback): Deleted.
Canonical link: https://commits.webkit.org/289761@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list