OSDN Git Service

Initialize local variables to avoid data leak
authorNaveen Leekha <leekha@google.com>
Tue, 22 Sep 2015 00:28:04 +0000 (17:28 -0700)
committerNaveen Leekha <leekha@google.com>
Tue, 22 Sep 2015 00:44:55 +0000 (17:44 -0700)
commit12ba0f57d028a9c8f4eb3afddc326b70677d1e0c
treedf6905658b868c056abba37976f92efc578a0e0e
parent3ffddbbc0ff521f9b1fe3267a5ec5d22e0ca1829
Initialize local variables to avoid data leak

The uninitialized local variables pick up
whatever the memory content was there on stack.
This data gets sent to the remote process in
case of a failed transaction, which is a security
issue. Fixed.

For b/23696300

Change-Id: Ie37a34851ffe203f9579f63f1fe1b8605a880c30
libs/gui/IGraphicBufferProducer.cpp