summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2016-11-15 14:04:16 -0800
committerChristopher Ferris <cferris@google.com>2016-11-16 15:35:02 -0800
commitc0f1f552f9a4ddba7df737a5ea6696fac6a678ea (patch)
treef3c4404b138a2838ea2e25ec579275fc282760aa /libc/malloc_hooks/malloc_hooks.cpp
parent1dc3ae163e6190508e5b32f256622daa1146bc6b (diff)
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 (cherry picked from commit a19bc2d4edfc261bdccfc5f855c50e83477b3757) (cherry picked from commit b7f0267f0ddfa2d2ffb71a7980e80b05961401d0)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions