Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ae8d7f1f03bce910b806ac4b64295a7ef72ff41e
https://github.com/WebKit/WebKit/commit/ae8d7f1f03bce910b806ac4b64295a7ef72ff41e
Author: Mark Lam <[email protected]>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M Source/WTF/wtf/text/StringBuilderInternals.h
Log Message:
-----------
Improve overflow handling ergonomics in
StringBuilder::extendBufferForAppendingSlowCase.
https://bugs.webkit.org/show_bug.cgi?id=267100
rdar://120389444
Reviewed by Justin Michaud.
StringBuilder methods are supposed to be resilient against imminent overflows
without
crashing. This change adds the needed overflow check in one more place.
* Source/WTF/wtf/text/StringBuilderInternals.h:
(WTF::StringBuilder::extendBufferForAppendingSlowCase):
Canonical link: https://commits.webkit.org/272664@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes