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
Android.mk
AppOpsManager.cpp
Binder.cpp
BpBinder.cpp
BufferedTextOutput.cpp Prevent integer overflow when calculating buffer resizes 2015-06-08 14:49:09 -07:00
Debug.cpp
IAppOpsCallback.cpp
IAppOpsService.cpp
IBatteryStats.cpp
IInterface.cpp
IMemory.cpp
IPCThreadState.cpp
IPermissionController.cpp
IProcessInfoService.cpp
IServiceManager.cpp
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
ProcessState.cpp
Static.cpp
TextOutput.cpp