Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41331831 authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

IGraphicBufferProducer: fix QUEUE_BUFFER info leak

am: d06421fd

* commit 'd06421fd':
  IGraphicBufferProducer: fix QUEUE_BUFFER info leak
parents 034bc179 d06421fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -223,6 +223,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;