Changeset 250172 in webkit
- Timestamp:
- Sep 20, 2019, 5:29:13 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r250139 r250172 1 2019-09-20 Mark Lam <mark.lam@apple.com> 2 3 Harden assertion in StructureIDTable::get(). 4 https://bugs.webkit.org/show_bug.cgi?id=202067 5 <rdar://problem/55577923> 6 7 Reviewed by Keith Miller. 8 9 * runtime/StructureIDTable.h: 10 (JSC::StructureIDTable::get): 11 1 12 2019-09-20 Truitt Savell <tsavell@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/StructureIDTable.h
r242103 r250172 173 173 ASSERT_WITH_SECURITY_IMPLICATION(!isNuked(structureID)); 174 174 uint32_t structureIndex = structureID >> s_numberOfEntropyBits; 175 ASSERT_WITH_SECURITY_IMPLICATION(structureIndex < m_capacity);175 RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(structureIndex < m_capacity); 176 176 return decode(table()[structureIndex].encodedStructureBits, structureID); 177 177 }
Note:
See TracChangeset
for help on using the changeset viewer.