[webkit-changes] [WebKit/WebKit] 6dd6fa: WTF::Vector cross-container overflow ASAN support
Abigail Fox
noreply at github.com
Tue Nov 7 13:26:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6dd6fa04c07391d5a6b79a861750117d4c700aec
https://github.com/WebKit/WebKit/commit/6dd6fa04c07391d5a6b79a861750117d4c700aec
Author: Abigail Fox <abigail_fox at apple.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M Source/WTF/wtf/Vector.h
Log Message:
-----------
WTF::Vector cross-container overflow ASAN support
https://bugs.webkit.org/show_bug.cgi?id=261220
rdar://113692853
Reviewed by David Kilzer.
Added check in ASAN builds for container overflow
* Source/WTF/wtf/Vector.h:
(WTF::Malloc>::asanBufferSizeWillChangeTo):
(WTF::Malloc>::uncheckedAppend):
* Tools/TestWebKitAPI/Tests/WTF/Vector.cpp:
(TestWebKitAPI::TEST):
Originally-landed-as: 1393b618ad01. rdar://117808918
Canonical link: https://commits.webkit.org/270346@main
More information about the webkit-changes
mailing list