Ignore:
Timestamp:
Apr 5, 2013, 2:34:15 PM (12 years ago)
Author:
[email protected]
Message:

If CallFrame::trueCallFrame() knows that it's about to read garbage instead of a valid CodeOrigin/InlineCallFrame, then it should give up and return 0 and all callers should be robust against this
https://bugs.webkit.org/show_bug.cgi?id=114062

Reviewed by Oliver Hunt.

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::canGetCodeOrigin):
(CodeBlock):

  • interpreter/CallFrame.cpp:

(JSC::CallFrame::trueCallFrame):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::getStackTrace):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r147795 r147798  
     12013-04-05  Filip Pizlo  <[email protected]>
     2
     3        If CallFrame::trueCallFrame() knows that it's about to read garbage instead of a valid CodeOrigin/InlineCallFrame, then it should give up and return 0 and all callers should be robust against this
     4        https://bugs.webkit.org/show_bug.cgi?id=114062
     5
     6        Reviewed by Oliver Hunt.
     7
     8        * bytecode/CodeBlock.h:
     9        (JSC::CodeBlock::canGetCodeOrigin):
     10        (CodeBlock):
     11        * interpreter/CallFrame.cpp:
     12        (JSC::CallFrame::trueCallFrame):
     13        * interpreter/Interpreter.cpp:
     14        (JSC::Interpreter::getStackTrace):
     15
    1162013-04-05  Geoffrey Garen  <[email protected]>
    217
Note: See TracChangeset for help on using the changeset viewer.