Merge "Add NULL check to CallStack::toString"
This commit is contained in:
commit
cce6230b3c
@ -118,7 +118,9 @@ String8 CallStack::toString(const char* prefix) const {
|
||||
char line[MAX_BACKTRACE_LINE_LENGTH];
|
||||
format_backtrace_line(i, &mStack[i], &symbols[i],
|
||||
line, MAX_BACKTRACE_LINE_LENGTH);
|
||||
if (prefix) {
|
||||
str.append(prefix);
|
||||
}
|
||||
str.append(line);
|
||||
str.append("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user