Changeset 263292 in webkit
- Timestamp:
- Jun 19, 2020, 3:40:26 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/StringPrototype.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r263290 r263292 1 2020-06-19 Mark Lam <mark.lam@apple.com> 2 3 toString of String doesn't check integrity of structureID in one path. 4 https://bugs.webkit.org/show_bug.cgi?id=213338 5 6 Reviewed by Saam Barati. 7 8 * runtime/StringPrototype.cpp: 9 (JSC::stringProtoFuncToString): 10 1 11 2020-06-19 Saam Barati <sbarati@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/StringPrototype.cpp
r262992 r263292 959 959 // Also used for valueOf. 960 960 961 if (thisValue.isString()) 961 if (thisValue.isString()) { 962 Integrity::auditStructureID(vm, thisValue.asCell()->structureID()); 962 963 return JSValue::encode(thisValue); 964 } 963 965 964 966 auto* stringObject = jsDynamicCast<StringObject*>(vm, thisValue);
Note:
See TracChangeset
for help on using the changeset viewer.