replicant-frameworks_native/libs/binder
Christopher Tate 98e67d352b Don't corrupt parcel when writeFileDescriptor() fails
We now check for fd-legality before committing binder objects to
the flattened data buffer rather than after.  Previously we would
wind up corrupting the parcel and incurring driver-level errors,
as well as potentially leaking FDs.

Bug 21428802

Change-Id: Ice0d641b3dcc41fb1b8c68ce2e2ebd744c2863a1
2015-06-08 13:13:19 -07:00
..
tests
Android.mk
AppOpsManager.cpp
Binder.cpp
BpBinder.cpp
BufferedTextOutput.cpp
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 Don't corrupt parcel when writeFileDescriptor() fails 2015-06-08 13:13:19 -07:00
PermissionCache.cpp
ProcessInfoService.cpp
ProcessState.cpp
Static.cpp
TextOutput.cpp