]> git.lizzy.rs Git - rust.git/commit
std: Fix a segfault on OSX with backtraces
authorAlex Crichton <alex@alexcrichton.com>
Thu, 7 Sep 2017 05:13:59 +0000 (22:13 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 7 Sep 2017 05:14:34 +0000 (22:14 -0700)
commitf633284b3da04a6eb2f6525e51efd81de6320f2e
treef90f8a44573854728f2618c561fd108c374bb402
parent2f1ef9ef1181298d46e79d5dde6bafeb6483926f
std: Fix a segfault on OSX with backtraces

Apparently `dladdr` can succeed but still give you NULL pointers!

Closes #44379
src/libstd/sys/unix/backtrace/printing/dladdr.rs