platform_system_core/debuggerd
Christopher Ferris 039976e553 Fix null pointer dereference.
In the function dump_thread_info, if /proc/<PID>/comm is unreadable, then
threadname will be used in a strncmp causing a crash. The fix is to
avoid the check if threadname is null.

Bug: 28615417
Change-Id: I54eda86404c927dbf5a987f5dd2108487df9f16c
2016-05-05 11:21:11 -07:00
..
arm Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
arm64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
test debuggerd_test: provide stub selinux/android.h 2015-12-21 16:29:02 -08:00
x86 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
x86_64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
.clang-format debuggerd: add .clang-format. 2015-11-16 17:26:22 -08:00
Android.mk debuggerd: fork the signal sender once. 2016-03-17 13:11:05 -07:00
backtrace.cpp Add error reporting mechanism for failing Unwind. 2016-03-10 14:14:43 -08:00
backtrace.h debuggerd: fix several bugs caused by fork/setuid change. 2016-01-14 15:06:37 -08:00
crasher.c Fix build break due to unknown pragma (on gcc). 2015-09-30 23:30:38 -07:00
debuggerd.cpp Connect to activity manager as root. 2016-04-20 11:30:33 -07:00
debuggerd.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
debuggerd64.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
elf_utils.cpp Merge "Track rename of base/ to android-base/." am: 912ed3d8ca 2015-12-07 23:36:59 +00:00
elf_utils.h Print the build id of shared libraries if present. 2015-03-17 15:13:35 -07:00
getevent.cpp Next phase of the move, reformat use C++ features. 2014-01-13 14:21:52 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Refactor dump_memory function. 2015-05-28 11:45:34 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
signal_sender.cpp debuggerd: set the name of the signal sender. 2016-03-30 14:22:41 -07:00
signal_sender.h debuggerd: fork the signal sender once. 2016-03-17 13:11:05 -07:00
tombstone.cpp Fix null pointer dereference. 2016-05-05 11:21:11 -07:00
tombstone.h Connect to activity manager as root. 2016-04-20 11:30:33 -07:00
utility.cpp debuggerd: fix several bugs caused by fork/setuid change. 2016-01-14 15:06:37 -08:00
utility.h debuggerd: fix several bugs caused by fork/setuid change. 2016-01-14 15:06:37 -08:00