summaryrefslogtreecommitdiffstats
path: root/libs/binder
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2011-12-01 22:08:20 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-01 22:08:20 -0800
commita63ee4c2fdc4869fd1169d22e79ae9f1220c5bdb (patch)
tree0cbdff8cae2e1ca7580a79088eff58ae4cb11dac /libs/binder
parent6c8f6fb565b0da618a473062657e304a8d431712 (diff)
parent11fc6ba3bf06e499995caf2aa936776198c5b296 (diff)
downloadframeworks_native-a63ee4c2fdc4869fd1169d22e79ae9f1220c5bdb.zip
frameworks_native-a63ee4c2fdc4869fd1169d22e79ae9f1220c5bdb.tar.gz
frameworks_native-a63ee4c2fdc4869fd1169d22e79ae9f1220c5bdb.tar.bz2
am f1a4c48b: am e21dabf6: Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1
* commit 'f1a4c48b886d53e2afceb0620215e3792af79fd5': Initialize bwr.read_buffer in IPCThreadState::talkWithDriver.
Diffstat (limited to 'libs/binder')
-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 6965702..641134a 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() {