summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Ben Cheng <bccheng@google.com> 2011-12-01 22:05:07 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-12-01 22:05:07 -0800
commite21dabf654e3d90e50e95174d5e9670bc930c194 (patch)
treedbac517b6ca9b151605af1f929da336b4aef9cba /libs/binder/IPCThreadState.cpp
parent0d3a2e93394efa4729e5c29ff4515f9f2644b8c3 (diff)
parent045057087905e23c270715e9ae21de652caa2132 (diff)
Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index 5ccf87f2cbd3..5d34787d6cec 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -773,6 +773,7 @@ status_t IPCThreadState::talkWithDriver(bool doReceive)
bwr.read_buffer = (long unsigned int)mIn.data();
} else {
bwr.read_size = 0;
+ bwr.read_buffer = 0;
}
IF_LOG_COMMANDS() {