DescriptionThe caseConvert function should not truncate strings with zero length.
The truncateAssumingIsolated function is only called for non-empty
strings in caseConvert. The type of targetLength is changed to
unsigned from signed, which can cause buffer overflows with
specially constructed strings.
BUG=425478
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186016
Patch Set 1 #Patch Set 2 : Second attempt #
Total comments: 1
Patch Set 3 : Remove assert #
Messages
Total messages: 24 (6 generated)
|