OSDN Git Service

Fix uninitialized variable usage.
authorChristopher Ferris <cferris@google.com>
Tue, 15 Nov 2016 22:04:16 +0000 (14:04 -0800)
committerChristopher Ferris <cferris@google.com>
Wed, 16 Nov 2016 18:55:20 +0000 (10:55 -0800)
commita19bc2d4edfc261bdccfc5f855c50e83477b3757
tree2cb3b588486f4d25f0574499fe6a1913e56cacbf
parentf97b27a9c06a61206dd1edbbfc5e11b2a293b462
Fix uninitialized variable usage.

If the dladdr call fails, then info.dli_fname will be unitialized.
Make sure that this can't happen.

Bug: 32907235

Test: Enabled malloc debug on an angler and verified that function names
Test: still work.
Change-Id: I738e66d9f37bce07bc4c10f1f9bac11fbfdae2c7
libc/malloc_debug/backtrace.cpp