Go to file
Ivan Lozano 045064371e Fix sanitizer errors in bootstat.cpp.
Integer overflow sanitized builds are throwing an error on the while
loop decrement in the rfind function. This refactors the loop to prevent
decrementing the value on the final iteration.

Test: Compiled and device boots without runtime error.
Bug: 30969751
Change-Id: Ice4532cce933062b3c14adf2d9749cfdea4ad84c
2017-11-08 08:23:23 -08:00
adb Merge "adb: fix erase-remove_if idiom." am: c2a2ecb7a5 2017-10-23 21:38:57 +00:00
adf Eliminate false positive static analyzer warnings. 2017-09-26 15:27:37 -07:00
base Use -Werror in system/core 2017-11-01 11:32:55 -07:00
bootstat Fix sanitizer errors in bootstat.cpp. 2017-11-08 08:23:23 -08:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Use -Werror in system/core 2017-11-01 11:32:55 -07:00
demangle Add support for non-virtual thunk. 2017-11-01 16:24:55 -07:00
fastboot Merge "fastboot: handle small flash block sizes correctly" 2017-11-03 21:15:34 +00:00
fs_mgr Merge "fs_mgr: support reading fstab based on ro.boot.hardware.platform" am: 3d879b10d8 am: 45aa5ed89a 2017-11-01 21:56:29 +00:00
gatekeeperd resolve merge conflicts of 0dd4b6aa3 to stage-aosp-master 2017-09-15 16:50:34 +09:00
healthd Remove unused files in healthd. 2017-10-19 14:52:00 -07:00
include Move android_filesystem_config.h => fs_config.h 2017-08-03 17:20:27 +00:00
init Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
libappfuse Merge "Remove LOCAL_CLANG and clang: true" am: 80ec81cf4b am: f7b315c985 am: 8a8b97b271 2017-07-25 22:39:58 +00:00
libasyncio Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libbacktrace Only skip frames for local unwinds. 2017-11-02 16:22:52 -07:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libcutils Merge "libcutils: Fix thread ID on macOS" 2017-10-23 20:32:47 +00:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libion Merge "libion: Adapt to new ION interface" 2017-09-21 01:06:32 +00:00
libkeyutils Add libkeyutils. 2017-05-10 14:53:28 -07:00
liblog Merge "Allow stats buffer to be empty in liblog CTS." am: 41a9b3c81d am: 5b5ffbda22 2017-10-25 23:19:34 +00:00
libmemtrack Mark libmemtrack as VNDK in Android.bp 2017-09-14 02:46:36 +00:00
libmemunreachable Silence static analyzer warnings about memory leaks 2017-09-24 13:36:29 -07:00
libmetricslogger libmetricslogger: Fix the out-of-sync proto IDs for boot reason. 2017-10-06 14:30:08 -07:00
libnativebridge Use -Werror in system/core/libnativebridge 2017-10-31 15:55:40 -07:00
libnativeloader Merge "Remove default libraries" am: 8b7feee38f am: a0113de2f3 2017-09-30 23:36:25 +00:00
libnetutils libnetutil: Check dhcp respose packet length am: 61f25d4a36 am: cee6d38c55 am: 29d054046f am: c29049f4f8 am: 3de04e9840 am: 19702dc499 am: 8191e9ba87 am: 804323c195 am: 4f5f00d879 am: 3a1ff1ad71 am: bab7b1ecd9 am: cdf0fc6018 2017-11-02 03:28:42 +00:00
libpackagelistparser Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libpixelflinger Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
libprocessgroup Add memcg related configs to init. 2017-07-18 15:58:40 -07:00
libprocinfo Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libsparse Merge "<stdbool.h> not necessary in C++." 2017-10-17 19:26:53 +00:00
libsuspend Merge "Mark the modules as VNDK in Android.bp" 2017-09-15 16:31:01 +00:00
libsync Merge "libsync: Add fence info tests" 2017-09-26 23:46:32 +00:00
libsystem Define priority for video threads 2017-09-07 16:14:07 -07:00
libsysutils Stop depending on libnl. 2017-10-05 14:56:44 +09:00
libunwindstack Move sp/pc not changing check into Unwinder. 2017-10-31 17:51:02 -07:00
libusbhost Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libutils Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
libvndksupport Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
libziparchive resolve merge conflicts of 5ab03cb41 to oc-mr1-dev-plus-aosp 2017-11-01 11:32:17 +00:00
lmkd Simplify lmkd functionality 2017-09-17 18:31:35 -07:00
logcat Merge "logcat: Note in help that regexps are Perl-compatible" am: 411111acf4 am: 9d11756d48 2017-10-31 17:02:16 +00:00
logd Merge "Don't use TEMP_FAILURE_RETRY on close()" am: 0f2097c0f0 am: 72d7cbe78f 2017-10-24 20:52:43 +00:00
logwrapper Merge "logwrapper: add a benchmark for android_fork_execvp_ext" 2017-03-23 11:56:10 +00:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
qemu_pipe Mark libqemu_pipe vendor_available 2017-06-08 14:16:11 -07:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Fix: make vndk namespace visible for 2016 Pixes 2017-10-30 10:27:45 +09:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Revert "Revert "Add derive_gid flag for mounting sdcardfs"" 2017-09-22 14:30:30 -07:00
shell_and_utilities Update shell and utilities docs for O. 2017-09-13 20:59:25 -07:00
storaged storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
toolbox Revert "delete toolbox/r.c" 2017-11-02 10:03:10 -05:00
trusty Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk resolve merge conflicts of 73d9596bc to oc-mr1-dev-plus-aosp 2017-09-30 06:44:32 +08: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
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00