Skip to content

Commit e53247c

Browse files
committed
Revert "[sanitizer] Fix crash on empty strings."
Wrong author name, will recommit shortly. This reverts commit 262c508.
1 parent 2fb0a0f commit e53247c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ void ParseSymbolizePCOutput(const char *str, SymbolizedStack *res) {
356356
InternalFree(info->function);
357357
info->function = 0;
358358
}
359-
if (info->file && 0 == internal_strcmp(info->file, "??")) {
359+
if (0 == internal_strcmp(info->file, "??")) {
360360
InternalFree(info->file);
361361
info->file = 0;
362362
}

0 commit comments

Comments
 (0)