Skip to content
Commit 4aa4a73f authored by Kuba Brecka's avatar Kuba Brecka
Browse files

[sanitizer] Fix a crash with DlAddrSymbolizer and unnamed symbols

Apparently, dladdr() can succeed but return a NULL pointer, in which case strdup will crash.  Let's not call strdup on NULL pointers.

llvm-svn: 254068
parent f763027f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment