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 11:23:52 -0800
commitb7f0267f0ddfa2d2ffb71a7980e80b05961401d0 (patch)
tree698798273ae116c54d45763ec3dbdfe46f5b97b7 /libc/malloc_hooks/malloc_hooks.cpp
parentdd0155f7d4853583d8d87d734908052235078311 (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)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions