Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r164408 - Crash in WTF::StringBuilder::append()
https://bugs.webkit.org/show_bug.cgi?id=125817 <rdar://problem/15671883> Reviewed by Oliver Hunt. * wtf/text/StringBuilder.cpp: (WTF::expandedCapacity): Ensure that we return a new capacity of at least 'requiredLength' in the case where requiredLength is large. Also, use unsigned rather than size_t for the parameters and the return value, as callers pass unsigned arguments and treat the result as an unsigned int.
- Loading branch information
1 parent
08d744a
commit ed91dce
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters