Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Android System Core (CM)
C C++ Assembly Makefile Java Shell Python
Pull request Compare This branch is 9668 commits ahead, 58 commits behind koush:eclair.

Prevent integer overflow when allocating native_handle_t

User specified values of numInts and numFds can overflow
and cause malloc to allocate less than we expect, causing
heap corruption in subsequent operations on the allocation.

Bug: 19334482
Change-Id: I43c75f536ea4c08f14ca12ca6288660fd2d1ec55
latest commit c314a2252c
Adam Lesinski authored ciwrl committed
Failed to load latest commit information.
adb adb: Changes for factory mode
adf libadf: silence false positive warning
auditd Add sample audit.rules file.
cpio cpio: Turn on -Werror
debuggerd Let CyanogenMod developers know of Clark Scheff and Steve Kondik's gd…
fastboot fastboot: Add MMX fastboot USB ID
fastbootd Judge mmap failed by MAP_FAILED instead of NULL
fs_mgr fs_mgr: Skip filesystem check unless fs_type matches
gpttool gpttool: turn on -Werror
healthd Disable backlight when blanking panel.
include libutils: refbase: jellybean mr1 compat
init init: Let a device's init.rc redefine service entries
libbacktrace Add uncached argument to BacktraceMap::Create on darwin
libcutils Prevent integer overflow when allocating native_handle_t
libdiskconfig core: Add some static libraries
libion libion: Turn on -Werror
liblog liblog: Forward xlog to regular android buffers on demand
libmemtrack system/core 64-bit cleanup.
libmincrypt Add libminshacrypt static lib
libnativebridge Don't allow SUPPORTED_ABIs to be set by the native bridge.
libnetutils Set gateway properties for being accessible in DataCallResponse
libpixelflinger Build pixelflinger tests as native tests, not executables.
libprocessgroup Fix issue #18000467: processgroup truncates buffer
libsparse am d4d0963: am db32e78: am a2b03c4: Merge "libsparse: turn on -Werror"
libsuspend am 1291df7: am c5fa4b1: am 065c270: Merge "libsuspend: Turn on -Werror"
libsync Add gtest conformance tests for libsync. Not complete yet, but substa…
libsysutils libsysutils: Do not use the kernel headers
libusbhost libusbhost: Skip /dev inotify if /dev/bus/usb already exists
libutils System/core: Use memmove
libziparchive Fix toolchain issue for windows build of libziparchive.
libzipfile Build host with multilib both enabled.
lmkd lmkd: kill a process if zoneinfo can't be read
logcat ADB Logcat colored output.
logd logd: fix persistent blocking reader performance
logwrapper Fix "ptsname is not thread-safe; use ptsname_r instead" build break.
mkbootimg Forward-port mkbootimg / unpackbootimg support
netcfg Cleanup: Delete dead code.
reboot reboot: Turn on -Werror
rootdir init: Move back to the standard location
run-as run-as: build 1161573 failure
sdcard sdcard: Allow building as a static library
toolbox toolbox: new applet restart
.gitignore eclair snapshot Remove the simulator target from all makefiles. add cleanspec for lmkd
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843
NOTICE Fix omission in NOTICE file.
README auto import from //depot/cupcake/@135843
ThirdPartyProject.prop add meta-files about 3rd party projects


The system/ directory is intended for pieces of the world that are the
core of the embedded linux platform at the heart of Android.  These
essential bits are required for basic booting, operation, and debugging.

They should not depend on libraries outside of system/... (some of them
do currently -- they need to be updated or changed) and they should not
be required for the simulator build.

The license for all these pieces should be clean (Apache2, BSD, or MIT).

Currently system/bluetooth/... and system/extra/... have some pieces
with GPL/LGPL licensed code.

Assorted Issues:

- pppd depends on libutils for logging
- pppd depends on libcrypt/libcrypto
- init, linker, debuggerd, toolbox, usbd depend on libcutils
- should probably rename bionic to libc
Something went wrong with that request. Please try again.