Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 265870.381@safari-7616-branch (b5b70c4). https://bugs.web…
…kit.org/show_bug.cgi?id=260173 CrashOnOverflow in CharacterClassConstructor::compareUTF32Strings https://bugs.webkit.org/show_bug.cgi?id=260173 rdar://113872060 Reviewed by Ryosuke Niwa. Fixed and simplified the the sort comparison function compareUTF32Strings() to properly handle zero length strings. Added relevant tests. * JSTests/stress/regexp-vflag-property-of-strings.js: * Source/JavaScriptCore/yarr/YarrPattern.cpp: (JSC::Yarr::CharacterClassConstructor::compareUTF32Strings): Canonical link: https://commits.webkit.org/265870.381@safari-7616-branch
- Loading branch information