Changeset 195502 in webkit
- Timestamp:
- Jan 22, 2016 6:10:17 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r195488 r195502 1 2016-01-22 Saam barati <sbarati@apple.com> 2 3 genericUnwind might overflow the instructions() vector when catching an FTL exception 4 https://bugs.webkit.org/show_bug.cgi?id=153383 5 6 Reviewed by Benjamin Poulain. 7 8 * jit/JITExceptions.cpp: 9 (JSC::genericUnwind): 10 1 11 2016-01-22 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r191455 r195502 59 59 if (handler) { 60 60 // handler->target is meaningless for getting a code offset when catching 61 // the exception in a DFG frame. This bytecode target offset could be61 // the exception in a DFG/FTL frame. This bytecode target offset could be 62 62 // something that's in an inlined frame, which means an array access 63 63 // with this bytecode offset in the machine frame is utterly meaningless 64 64 // and can cause an overflow. OSR exit properly exits to handler->target 65 65 // in the proper frame. 66 if ( callFrame->codeBlock()->jitType() != JITCode::DFGJIT)66 if (!JITCode::isOptimizingJIT(callFrame->codeBlock()->jitType())) 67 67 catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target]; 68 68 #if ENABLE(JIT)
Note: See TracChangeset
for help on using the changeset viewer.