[lldb-dev] [PATCH] Fix NULL unwinder dereference in StackFrameList

Greg Clayton gclayton at apple.com
Fri Nov 22 13:08:02 PST 2013


Looks good. 

% svn commit 
Sending        source/Target/StackFrameList.cpp
Transmitting file data .
Committed revision 195499.


On Nov 22, 2013, at 12:37 PM, Todd Fiala <tfiala at google.com> wrote:

> Hi all,
> 
> I'm attaching a proposed patch to fix an issue where lldb will seg fault if for some reason there is no unwinder when StackFrameList::GetFramesUpTo() is called.
> 
> The scenario where I'm hitting it is more fundamentally broken (the triple is unknown) - this small patch is just to stop lldb from crashing.
> 
> Thanks!
> 
> Sincerely,
> Todd Fiala
> <null_unwinder.diff>_______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list