No description
Find a file
Christopher Ferris 30c942cf10 Prevent crashes if a map cannot be created.
Under some conditions, /proc/<pid>/maps might return nothing. If we
try and unwind in this case, we'll crash. Check this case and fail
the unwind.

Add checks that no other functions try and use map_ without
checking for nullptr.

Add logging when an unwind fails so it's clear what happened.

Bug: 21162746
Change-Id: I56ce51dda0cfc9db20475a441f118108196aa07c
2015-05-14 17:56:41 -07:00
adb adb: Do not share memory between multiple thread 2015-05-11 16:28:04 -07:00
adf libadf: enable -Werror 2015-03-10 15:14:38 -07:00
base adb: win32: fix adb emu command 2015-05-06 18:54:08 -07:00
cpio makebootfs: use libcutils shared libraries 2015-04-15 10:32:19 -07:00
debuggerd Prevent crashes if a map cannot be created. 2015-05-14 17:56:41 -07:00
fastboot Remove dead files. 2015-05-11 21:57:33 -07:00
fs_mgr fs_mgr: remove some dead code 2015-05-07 10:18:33 +02:00
gpttool gpttool: turn on -Werror 2014-05-05 10:30:04 -07:00
healthd Move away from gr_surface. 2015-04-15 10:25:55 -07:00
include logcat: liblog: Add "usec" format argument 2015-05-12 15:51:46 -07:00
init Reduce the coldboot timeout to 1s. 2015-05-14 12:03:14 -07:00
libbacktrace Prevent crashes if a map cannot be created. 2015-05-14 17:56:41 -07:00
libcutils Switch arch-arm/memset32.S to unified syntax. 2015-05-11 22:22:13 -07:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed. 2015-04-02 14:31:07 -07:00
liblog Merge "liblog: gtest open("/dev/pmsg0", "a")" 2015-05-13 16:30:59 +00:00
libmemtrack Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libmincrypt Enable clang compilation. 2015-05-14 10:53:48 -07:00
libnativebridge am 0d385d1c: Merge "Track renaming of initUnchangeableSystemProperty." 2015-02-10 16:54:35 +00:00
libnetutils Add a command to call libnetutils' do_dhcp. 2015-04-21 19:31:43 -07:00
libpixelflinger pixelflinger: make self-contained 2015-03-19 12:34:35 -07:00
libprocessgroup Remove uses of libcxx.mk. 2015-03-27 11:24:04 -07:00
libsparse libsparse: fix crc chunk parsing in simg_dump.py 2015-04-30 16:36:17 +00:00
libsuspend Libsuspend: Remove unused variable 2014-11-24 18:53:44 -08:00
libsync Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed. 2015-04-02 14:31:07 -07:00
libsysutils Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libusbhost am 0d8943c2: am e4c5b614: Merge "libusbhost: Fix IOCTL call during usb_request_cancel" 2014-08-12 21:05:43 +00:00
libutils Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed. 2015-04-02 14:31:07 -07:00
libziparchive Use base::WriteFully in zip_archive. 2015-04-29 14:31:45 +00:00
lmkd Lmkd: Fix unused variables 2014-11-24 20:32:42 -08:00
logcat logcat: liblog: Add "usec" format argument 2015-05-12 15:51:46 -07:00
logd Merge "logd: Add TID statistics" 2015-05-13 16:17:37 +00:00
logwrapper Fix "ptsname is not thread-safe; use ptsname_r instead" build break. 2014-07-29 11:06:53 -07:00
mkbootimg pass in correct buffer to print_id 2015-05-08 09:20:22 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Merge "Add /data/misc/perfprofd to store perf profile." 2015-05-06 21:49:51 +00:00
run-as package missing include for string.h 2015-04-01 11:15:37 -07:00
sdcard Correct magic number on umount2 2015-04-24 01:13:35 +00:00
toolbox Improve toolbox SIGPIPE behavior. 2015-04-25 12:03:41 -07:00
tzdatacheck Executable to run on boot that removes old tzdata if needed 2015-04-13 11:38:32 +01:00
.gitignore Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00