replicant-frameworks_native/libs/binder
Christopher Tate ed7a50cc7d Prevent integer overflow when calculating buffer resizes
Make sure that we don't go haywire if an exponential buffer growth
operation winds up wrapping integer range.  Along the way, fix a
bookkeeping bug in BufferedTextOutput that would cause it to keep
spuriously realloc()ing on every append().

Bug 20674694

Change-Id: Ia845b7de36b90672a151a918ffc26c7da68e20a2
2015-06-08 14:49:09 -07:00
..
tests Replace all instances of intptr_t with uintptr_t. 2015-01-13 21:59:44 +00:00
Android.mk Add ProcessInfoService to activity manager. 2015-02-02 14:56:55 -08:00
AppOpsManager.cpp Add body sensors app op - framework native 2015-05-01 13:51:45 -07:00
Binder.cpp C++11 compatibility. 2014-11-20 21:04:35 +00:00
BpBinder.cpp Binder: Remove unused functions & variables 2014-11-24 11:39:11 -08:00
BufferedTextOutput.cpp Prevent integer overflow when calculating buffer resizes 2015-06-08 14:49:09 -07:00
Debug.cpp We HAVE_LITTLE_ENDIAN. 2014-11-21 23:35:36 -08:00
IAppOpsCallback.cpp
IAppOpsService.cpp Add body sensors app op - framework native 2015-05-01 13:51:45 -07:00
IBatteryStats.cpp Track camera and flashlight usage in battery stats. 2015-06-01 16:55:07 -07:00
IInterface.cpp Add backwards compatible versions of IInterface::asBinder() 2015-03-31 20:32:30 +00:00
IMemory.cpp Replace IInterface::asBinder() with a static 2014-11-17 08:47:01 -08:00
IPCThreadState.cpp Fixed build error with clang/llvm. 2015-04-21 14:00:27 -07:00
IPermissionController.cpp Add body sensors app op - framework native 2015-05-01 13:51:45 -07:00
IProcessInfoService.cpp Add ProcessInfoService to activity manager. 2015-02-02 14:56:55 -08:00
IServiceManager.cpp Replace IInterface::asBinder() with a static 2014-11-17 08:47:01 -08:00
MemoryBase.cpp
MemoryDealer.cpp
MemoryHeapBase.cpp
Parcel.cpp Prevent integer overflow when calculating buffer resizes 2015-06-08 14:49:09 -07:00
PermissionCache.cpp
ProcessInfoService.cpp Add ProcessInfoService to activity manager. 2015-02-02 14:56:55 -08:00
ProcessState.cpp Added IPCThreadState::blockUntilThreadAvailable() method. 2015-04-14 13:17:25 -07:00
Static.cpp Fix issue #18356768: some app process may hang at Runtime#exit... 2014-11-13 17:09:59 -08:00
TextOutput.cpp Fix output of pointers for 64bit devices. 2014-10-31 11:08:19 -07:00