No description
Find a file
Christopher Ferris eb19e76632 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
(cherry picked from commit 30c942cf10)
2015-05-15 11:32:53 -07:00
adb Failure to find an oem partition should not be a remount failure. 2015-05-11 13:36:13 -07:00
adf libadf: enable -Werror 2015-03-10 15:14:38 -07:00
base Remove strtok from adb. 2015-04-28 10:55:24 -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-15 11:32:53 -07:00
fastboot Fix file descriptor leak when opening invalid archives. 2015-05-13 09:20:44 +00:00
fs_mgr am 2557cd21: am 8b448629: am 16092b7a: Merge "fs_mgr: allow for zramsize to be specified as percentage of total memory" into lmp-mr1-dev 2015-05-13 17:07:53 +00:00
gatekeeperd Move SoftGateKeeper into gatekeeperd 2015-05-14 12:58:13 -07:00
gpttool gpttool: turn on -Werror 2014-05-05 10:30:04 -07:00
healthd resolved conflicts for merge of 6e9b28b2 to master 2015-04-15 12:15:00 -07:00
include Fix gettid() on Windows. 2015-05-13 13:43:32 -07:00
init Fix insmod module size 2015-05-12 19:42:38 -07:00
libbacktrace Prevent crashes if a map cannot be created. 2015-05-15 11:32:53 -07:00
libcutils Remove libbacktrace definition of gettid. 2015-05-13 13:44:34 -07:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog liblog: gtest open("/dev/pmsg0", "a") 2015-05-13 10:00:02 -07:00
libmemtrack Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libmincrypt Disable clang optimization that has segmentation fault. 2014-12-17 14:59:53 -08:00
libnativebridge am 0d385d1c: Merge "Track renaming of initUnchangeableSystemProperty." 2015-02-10 16:54:35 +00:00
libnetutils am f91c0664: am 421d01c8: am d4196ef8: Merge "Add a command to call libnetutils\' do_dhcp." 2015-04-22 03:32:13 +00: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: move_chunks_up_to_len() does not account skip chunks 2015-04-08 10:10:17 +02: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 Give SocketListener some FD_CLOEXEC. 2015-04-01 22:31:40 -07:00
libusbhost libusbhost: Add usb_device_get_version() 2015-04-29 13:04:10 -07:00
libutils Move LinearAlloc to libhwui 2015-04-23 15:07:54 -07:00
libziparchive Reserve space on disk using fallocate 2015-04-20 09:49:26 +00:00
lmkd Lmkd: Fix unused variables 2014-11-24 20:32:42 -08:00
logcat logcat: liblog: Add "usec" format argument 2015-05-13 09:22:51 -07:00
logd logd: Add TID statistics 2015-05-13 09:23:01 -07:00
logwrapper Put in line breaks when logging to klog 2015-02-03 17:06:33 +00:00
mkbootimg Merge changes Iac33dbaa,I18fcd37d into mnc-dev 2015-05-08 15:00:14 +00:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir rootdir: add permission for /dev/dvb* 2015-05-07 16:49:00 +09:00
run-as package missing include for string.h 2015-04-01 11:15:37 -07:00
sdcard am 3d671000: am 28693983: am 1a39a994: Merge "Correct magic number on umount2" 2015-04-24 04:01:13 +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
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