diff options
author | Robert Shih <robertshih@google.com> | 2016-01-15 01:38:56 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-01-15 01:38:56 +0000 |
commit | dc9ec35294b8ec6b6c349b826edc9b44f4ddb96d (patch) | |
tree | df478b080e65a6b8ec21290240d9f087aa9006b6 | |
parent | dded8fdbb700d6cc498debc69a780915bc34d755 (diff) | |
parent | 413318311c8cc356dd7e0837ce26e937a9f4c56a (diff) | |
download | frameworks_native-dc9ec35294b8ec6b6c349b826edc9b44f4ddb96d.zip frameworks_native-dc9ec35294b8ec6b6c349b826edc9b44f4ddb96d.tar.gz frameworks_native-dc9ec35294b8ec6b6c349b826edc9b44f4ddb96d.tar.bz2 |
IGraphicBufferProducer: fix QUEUE_BUFFER info leak am: d06421fd37
am: 413318311c
* commit '413318311c8cc356dd7e0837ce26e937a9f4c56a':
IGraphicBufferProducer: fix QUEUE_BUFFER info leak
-rw-r--r-- | libs/gui/IGraphicBufferProducer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/IGraphicBufferProducer.cpp b/libs/gui/IGraphicBufferProducer.cpp index 4f7b0d3..67690b7 100644 --- a/libs/gui/IGraphicBufferProducer.cpp +++ b/libs/gui/IGraphicBufferProducer.cpp @@ -357,6 +357,7 @@ status_t BnGraphicBufferProducer::onTransact( QueueBufferOutput* const output = reinterpret_cast<QueueBufferOutput *>( reply->writeInplace(sizeof(QueueBufferOutput))); + memset(output, 0, sizeof(QueueBufferOutput)); status_t result = queueBuffer(buf, input, output); reply->writeInt32(result); return NO_ERROR; |