[webkit-changes] [WebKit/WebKit] a33479: Follow-up: WTF::Vector should use ASSERT_WITH_SECU...
Commit Queue
noreply at github.com
Tue Sep 26 09:18:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a33479953fa2351b5a1485ffe4401daf51d465b3
https://github.com/WebKit/WebKit/commit/a33479953fa2351b5a1485ffe4401daf51d465b3
Author: David Kilzer <ddkilzer at apple.com>
Date: 2023-09-26 (Tue, 26 Sep 2023)
Changed paths:
M Source/WTF/wtf/Assertions.h
M Source/WTF/wtf/Vector.h
Log Message:
-----------
Follow-up: WTF::Vector should use ASSERT_WITH_SECURITY_IMPLICATION() for buffer/capacity/size checks
https://bugs.webkit.org/show_bug.cgi?id=262043
<rdar://115993707>
Unreviewed build fix.
* Source/WTF/wtf/Assertions.h:
(NO_RETURN_DUE_TO_ASSERT_WITH_SECURITY_IMPLICATION): Add.
* Source/WTF/wtf/Vector.h:
(WTF::UnsafeVectorOverflow::overflowed):
- Switch from NO_RETURN_DUE_TO_ASSERT to
NO_RETURN_DUE_TO_ASSERT_WITH_SECURITY_IMPLICATION to fix the build.
Canonical link: https://commits.webkit.org/268456@main
More information about the webkit-changes
mailing list